Skip to content

Instantly share code, notes, and snippets.

@scalone
Created January 30, 2017 22:24
Show Gist options
  • Save scalone/7cbe8dae8953bddda2e3f927d9ccb1e1 to your computer and use it in GitHub Desktop.
Save scalone/7cbe8dae8953bddda2e3f927d9ccb1e1 to your computer and use it in GitHub Desktop.
#!/usr/bin/python
# File Name: setup.py
# Created: 23-02-2011
import sys
def main(argv):
"""main func"""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'Project Name',
'author': 'My Name',
'url': 'Homepage url',
'download_url': 'Download url',
'author_email': 'my email',
'version': '0.1',
'install_requires': ['nose'],
'packages': ['NAME'],
'scripts': [],
'name': 'projectname'
}
setup(**config)
if __name__ == "__main__":
sys.exit(main(sys.argv))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment