forked from ossobv/exactonline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (40 loc) · 1.67 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
#!/usr/bin/env python
from distutils.core import setup
if __name__ == '__main__':
long_descriptions = []
with open('README.rst') as file:
long_descriptions.append(file.read())
with open('CHANGES.rst') as file:
long_descriptions.append(file.read())
version = long_descriptions[-1].split(':', 1)[0].split('* ', 1)[1]
assert version.startswith('v'), version
version = version[1:]
setup(
name='exactonline',
version=version,
packages=[
'exactonline', 'exactonline.api', 'exactonline.elements',
'exactonline.storage'],
data_files=[('', ['LICENSE.txt', 'README.rst', 'CHANGES.rst'])],
description='Exact Online REST API Library in Python',
long_description=('\n\n\n'.join(long_descriptions)),
author='Walter Doekes, OSSO B.V.',
author_email='[email protected]',
url='https://github.com/ossobv/exactonline',
license='LGPLv3+',
platforms=['linux'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
('License :: OSI Approved :: GNU Lesser General Public License v3 '
'or later (LGPLv3+)'),
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Office/Business :: Financial',
'Topic :: Office/Business :: Financial :: Accounting',
'Topic :: Software Development :: Libraries',
],
)
# vim: set ts=8 sw=4 sts=4 et ai tw=79: