Created
May 4, 2014 13:02
-
-
Save arne-cl/c7d156b48a8ecf27f207 to your computer and use it in GitHub Desktop.
minimal example setup.py for a single-module package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
import os | |
try: | |
from setuptools import setup | |
except ImportError: | |
from distutils.core import setup | |
here = os.path.abspath(os.path.dirname(__file__)) | |
README = open(os.path.join(here, 'README.rst')).read() | |
setup(name='my_package_name', | |
version='my_version_number', | |
description='', | |
long_description=README, | |
author='', | |
author_email='', | |
url='', | |
py_modules=['my_module_name'], | |
scripts=['my_module_name.py'], | |
license='', | |
install_requires=['other_package_name'], | |
) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment