1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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'
]
},
)
|