-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
executable file
·69 lines (57 loc) · 1.8 KB
/
setup.py
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from os.path import join, dirname
from tsip import NAME, VERSION, LICENSE, AUTHOR, EMAIL, DESCRIPTION, URL
readme = open(join(dirname(__file__), 'README.rst')).read()
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
requirements = [
# 'package1', 'package2'
]
test_requirements = [
# 'package1', 'package2'
]
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=readme + '\n\n' + history,
author=AUTHOR,
author_email=EMAIL,
url=URL,
packages=[
NAME,
],
package_dir={'tsip':
'tsip'},
include_package_data=True,
install_requires=requirements,
license=LICENSE,
zip_safe=False,
keywords='TSIP, Trimble, GPS',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Topic :: Software Development :: Libraries',
'Topic :: System :: Hardware',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: PyPy',
],
test_suite='tests',
tests_require=test_requirements
)
# References
#
# - https://pythonhosted.org/setuptools/index.html
# - http://foobar.lu/wp/2012/05/13/a-comprehensive-step-through-python-packaging-a-k-a-setup-scripts/
# - https://pypi.python.org/pypi?%3Aaction=list_classifiers