forked from kdavies4/natu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
60 lines (52 loc) · 1.99 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
#!/usr/bin/python
"""Set up the natu package.
See README.md for instructions.
"""
# pylint: disable=C0103
import re
import versioneer
from os import path
from setuptools import setup
here = path.abspath(path.dirname(__file__))
versioneer.VCS = 'git'
versioneer.versionfile_source = 'natu/_version.py'
versioneer.versionfile_build = 'natu/_version.py'
versioneer.tag_prefix = 'v' # Tags are like 1.2.0
versioneer.parentdir_prefix = 'natu-'
version = versioneer.get_version()
with open(path.join(here, 'doc/long-description.txt')) as f:
long_description = f.read()
setup(name='natu',
version=version,
cmdclass=versioneer.get_cmdclass(),
description="Natural units in Python",
long_description=long_description,
author='Kevin Davies',
author_email='kdavies4@gmail.com',
license='BSD-compatible (see LICENSE.txt)',
keywords=('quantity calculus quantities unit conversion natural SI CGS '
'Planck Hartree'),
url='http://kdavies4.github.io/natu/',
download_url=('https://github.com/kdavies4/natu/archive/v%s.zip'
% version if version else ''),
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Intended Audience :: Education',
'Topic :: Scientific/Engineering',
'Topic :: Software Development :: Quality Assurance',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft :: Windows',
],
provides=['natu'],
packages=['natu', 'natu.config', 'natu.groups'],
package_data={'natu.config': ['*.ini']},
platforms='any',
zip_safe=False, # because ini files must be accessed
test_suite = 'tests.test_suite',
)