forked from genialis/resolwe-bio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
106 lines (89 loc) · 3.04 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
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
102
103
104
105
106
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Use codecs' open for a consistent encoding
from codecs import open
from os import path
from setuptools import find_packages, setup
base_dir = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(base_dir, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
# Get package metadata from 'resolwe.__about__.py' file
about = {}
with open(path.join(base_dir, 'resolwe_bio', '__about__.py'), encoding='utf-8') as f:
exec(f.read(), about)
setup(
name=about['__title__'],
version=about['__version__'],
description=about['__summary__'],
long_description=long_description,
url=about['__url__'],
author=about['__author__'],
author_email=about['__email__'],
license=about['__license__'],
# exclude tests from built/installed package
packages=find_packages(exclude=['tests', 'tests.*', '*.tests', '*.tests.*']),
package_data={
'resolwe_bio': [
'descriptors/*.yml',
'fixtures/*.yaml',
'processes/**/*.yml',
'processes/**/*.py',
'tools/*.py',
'tools/*.R',
'tools/*.sh',
]
},
zip_safe=False,
install_requires=(
'Django~=1.11.0',
# XXX: Remove django-autoslug after all migrations that import
# it are deleted
'django-autoslug==1.9.3',
'djangorestframework~=3.9.0',
'elasticsearch-dsl~=5.4.0',
# XXX: Required due to issue https://github.com/pypa/pip/issues/4905.
'resolwe >=16.0a1, ==16.*',
'wrapt>=1.10.8',
'django-filter~=2.0.0',
),
python_requires='>=3.6, <3.7',
extras_require = {
'docs': [
# XXX: Temporarily pin Sphinx to version 1.5.x since 1.6 doesn't work with our custom
# page template
'Sphinx~=1.5.6',
'sphinx_rtd_theme',
],
'package': [
'twine',
'wheel',
],
'test': [
'check-manifest',
# pycodestyle 2.3.0 raises false-positive for variables
# starting with 'def'
# https://github.com/PyCQA/pycodestyle/issues/617
'pycodestyle~=2.2.0',
'pydocstyle>=1.0.0',
'pylint~=1.8.0',
'readme_renderer',
'tblib>=1.3.0',
],
},
test_suite='resolwe_bio.tests',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
],
keywords='bioinformatics resolwe bio pipelines dataflow django',
)