-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
66 lines (58 loc) · 1.99 KB
/
Copy pathsetup.py
File metadata and controls
66 lines (58 loc) · 1.99 KB
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
# -*- coding: utf-8 -*-
"""\
=======================
eudat.accounting.client
=======================
Upload accounting records to an eudat accounting server
"""
from setuptools import setup, find_packages
import os, sys
version = '1.0.2.dev0-b2share'
this_directory = os.path.abspath(os.path.dirname(__file__))
def read(*names):
return open(os.path.join(this_directory, *names), 'r').read().strip()
long_description = '\n\n'.join(
[read(*paths) for paths in (('README.rst',),('CHANGES.rst',))]
)
dev_require = []
if sys.version_info < (2, 7):
dev_require += ['unittest2']
setup(name='eudat.accounting.client',
version=version,
description="Upload accounting records to an eudat accounting server",
long_description=long_description,
classifiers=[
"Environment :: Console",
"Intended Audience :: System Administrators",
"Programming Language :: Python :: 2.7",
"Operating System :: OS Independent",
"License :: OSI Approved :: BSD License",
"Topic :: Utilities",
],
keywords=['EUDAT', 'storage', 'accounting', 'comamndline', 'client'],
author='Raphael Ritz',
author_email='raphael.ritz@gmail.com',
url='https://github.com/raphael-ritz/eudat.accounting.client',
license='BSD',
packages=find_packages('src'),
package_dir = {'': 'src'},
namespace_packages=['eudat', 'eudat.accounting'],
include_package_data=True,
zip_safe=False,
install_requires=[
# 3rd party
'setuptools',
'requests',
],
entry_points={
'console_scripts': [
'addRecord=eudat.accounting.client.__main__:main',
'iRODScollector=eudat.accounting.client.iRODScollector:main',
'B2SHAREcollector=eudat.accounting.b2share.b2share_collector:main'
]
},
tests_require=dev_require,
test_suite='tests.all_tests',
extras_require={
'dev': dev_require
})