This repository was archived by the owner on Dec 18, 2019. It is now read-only.
forked from ESSolutions/ESSArch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
101 lines (89 loc) · 3.25 KB
/
setup.py
File metadata and controls
101 lines (89 loc) · 3.25 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
"""
ESSArch is an open source archiving and digital preservation system
ESSArch Core
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
"""
import versioneer
versioneer.VCS = 'git'
versioneer.versionfile_source = 'ESSArch_Core/_version.py'
versioneer.versionfile_build = None
versioneer.tag_prefix = '' # tags are like 1.2.0
versioneer.parentdir_prefix = 'ESSArch_Core-'
from setuptools import find_packages, setup
from setuptools.command.install import install as _install
def _post_install():
print 'Running inside _post_install'
class my_install(_install):
def run(self):
_install.run(self)
# the second parameter, [], can be replaced with a set of parameters if _post_install needs any
self.execute(_post_install, [],
msg="Running post install task")
if __name__ == '__main__':
cmdclass=versioneer.get_cmdclass()
cmdclass.update({'install': my_install})
setup(
name='ESSArch_Core',
version=versioneer.get_version(),
description='ESSArch Tools Producer',
author='Bjorn Skog',
author_email='info@essolutions.se',
url='http://www.essolutions.se',
install_requires=[
"MySQL-python>=1.2.5",
"pyodbc>=3.0.10",
"pytz>=2015.4",
"psutil>=3.2.1",
"billiard>=3.3.0.23",
"anyjson>=0.3.3",
"amqp>=1.4.9",
"kombu>=3.0.35",
"pycparser>=2.14",
"cffi>=1.2.1",
"six>=1.9.0",
"idna>=2.0",
"pyasn1>=0.1.8",
"enum34>=1.0.4",
"ipaddress>=1.0.14",
"cryptography>=1.0.1",
"pyOpenSSL>=0.15.1",
"pysendfile>=2.0.1",
"nose>=1.3.7",
"lxml>=3.4.4",
"pyftpdlib>=1.4.0",
"Django>=1.10.1",
"django-picklefield>=0.3.2",
"django-nested-inline>=0.3.5",
"argparse>=1.3.0",
"httplib2>=0.9.1",
"MarkupSafe>=0.23",
"Jinja2>=2.8",
"Soapbox>=0.3.7",
"django.js>=0.8.1",
"django-eztables>=0.3.3.dev0",
"celery>=3.1.23",
"django-celery>=3.2.0a1",
"jobtastic>=0.3.1",
"djangorestframework==3.4.6",
"django-filter>=0.14.0",
"djangorestframework-filters>=0.8.0",
"logfileviewer>=0.6.3",
],
packages=find_packages(),
include_package_data=True,
zip_safe=False,
cmdclass=cmdclass,
)