From charlesreid1

Revision as of 00:41, 19 March 2015 by Admin (talk | contribs) (Created page with "First step is to create the top-level directory that all the code related to this thing will live. I'll call it <code>myproject</code> Now in myproject we create <code>setup.py...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

First step is to create the top-level directory that all the code related to this thing will live.

I'll call it myproject

Now in myproject we create setup.py:

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

config = {
    'description': 'My Project',
    'author': 'My Name',
    'url': 'URL to get it at.',
    'download_url': 'Where to download it.',
    'author_email': 'My email.',
    'version': '0.1',
    'install_requires': ['nose'],
    'packages': ['NAME'],
    'scripts': [],
    'name': 'projectname'
}

setup(**config)