-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
executable file
·73 lines (65 loc) · 2.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
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
70
71
72
73
"""
ESSArch is an open source archiving and digital preservation system
ESSArch Tools for Producer (ETP)
Copyright (C) 2005-2017 ES Solutions AB
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Contact information:
Web - http://www.essolutions.se
Email - essarch@essolutions.se
"""
from setuptools import find_packages, setup
import versioneer
versioneer.VCS = 'git'
versioneer.versionfile_source = 'ESSArch_TP/_version.py'
versioneer.versionfile_build = None
versioneer.tag_prefix = '' # tags are like 1.2.0
versioneer.parentdir_prefix = 'ESSArch_TP-'
if __name__ == '__main__':
setup(
name='ESSArch_TP',
version=versioneer.get_version(),
description='ESSArch Tools Producer',
long_description=open("README.md").read(),
long_description_content_type='text/markdown',
author='Henrik Ek',
author_email='henrik@essolutions.se',
url='http://www.essolutions.se',
project_urls={
'Documentation': 'http://docs.essarch.org/',
'Source Code': 'https://github.com/ESSolutions/ESSArch_Tools_Producer/tree/%s' % (
versioneer.get_versions()['full']
),
'Travis CI': 'https://travis-ci.org/ESSolutions/ESSArch_Tools_Producer',
},
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Natural Language :: Swedish",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python",
"Framework :: Django",
"Topic :: System :: Archiving",
],
install_requires=[
"ESSArch-Core>=1.1.0.*,<=1.1.1.*",
],
extras_require={
"mssql": ["django-pyodbc-azure==1.11.15.0"],
"mysql": ["mysqlclient==1.3.13"],
"postgres": ["psycopg2==2.7.5"],
},
packages=find_packages(),
include_package_data=True,
zip_safe=False,
cmdclass=versioneer.get_cmdclass(),
)