Source

scoopy / setup.py

from distutils.core import setup

#This is a list of files to install, and where
#(relative to the 'root' dir, where setup.py is)
#You could be more specific.
files = ["scoopy/*"]

setup(
  name = "scoopy",
  version = "0.1.0",
  description = "Scoopy is console app for copying files over scp",
  author = "Juha Mustonen",
  author_email = "juha.p.mustonen@gmail.com",
  url = "whatever",
  # Declare your packages' dependencies here, for eg:
  install_requires=[
    'Fabric>=0.9',
    'progressbar',
    'plac>=0.8',
    'pyyaml',
  ],
  #Name the folder where your packages live:
  #(If you have other packages (dirs) or modules (py files) then
  #put them into the package directory - they will be found
  #recursively.)
  packages = ['scoopy'],
  #'package' package must contain files (see list above)
  #I called the package 'package' thus cleverly confusing the whole issue...
  #This dict maps the package name =to=> directories
  #It says, package *needs* these files.
  package_data = {'scoopy' : files },
  #'runner' is in the root.
  scripts = ["bin/scoopy"],
  long_description = """Really long text here."""
  #
  #This next part it for the Cheese Shop, look a little down the page.
  #classifiers = []
)