diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2016-08-08 16:03:02 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2016-08-08 17:07:13 -0400 |
commit | 597b1d6e39039066ce51e4c02d74ed6545ffccdf (patch) | |
tree | 535605fa822704c447ed94d9e89c4f28d23b6a5b /setup.py | |
parent | 9f6283fd7e9085154345fceeb01f66e5c50a4a2d (diff) | |
download | verhawk-597b1d6e39039066ce51e4c02d74ed6545ffccdf.tar.gz |
Refactor into a package; Add RELIC 1.0.50.0.1
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..f791f1c --- /dev/null +++ b/setup.py @@ -0,0 +1,32 @@ +from setuptools import setup, find_packages +import sys +sys.path.insert(1, 'relic') + +import relic.release + +NAME = 'verhawk' +version = relic.release.get_info() +relic.release.write_template(version, NAME) + +setup( + name=NAME, + version=version.pep386, + author='Joseph Hunkeler', + author_email='jhunk@stsci.edu', + description='Extract version data from Python [sub]packages/modules', + url='https://github.com/spacetelescope/verhawk', + license='BSD', + classifiers = [ + 'License :: OSI Approved :: BSD License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Topic :: Software Development :: Libraries :: Python Modules', + ], + packages=find_packages(), + package_data={'': ['README.md', 'LICENSE.txt']}, + entry_points={ + 'console_scripts': [ + 'verhawk = verhawk.cli.verhawk:main' + ] + }, +) |