-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
64 lines (59 loc) · 1.86 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
# To update the package version number, edit CITATION.cff
with open('CITATION.cff', 'r') as cff:
for line in cff:
if 'version:' in line:
version = line.replace('version:', '').strip().strip('"')
with open('README.rst') as readme_file:
readme = readme_file.read()
setup(
name='image_retrieval',
version=version,
description="The tool to retrieve images for Erastothenes project.",
long_description=readme + '\n\n',
author="Netherlands eScience Center",
author_email='o.ku@esciencecenter.nl',
url='https://github.com/GO-Eratosthenes/image_retrieval',
packages=[
'image_retrieval',
],
include_package_data=True,
license="Apache Software License 2.0",
zip_safe=False,
keywords='image_retrieval',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
test_suite='tests',
install_requires=[
'sat-search'
], # package's dependencies
setup_requires=[
# dependency for `python setup.py test`
'pytest-runner',
# dependencies for `python setup.py build_sphinx`
'sphinx',
'sphinx_rtd_theme',
'recommonmark'
],
tests_require=[
'pytest',
'pytest-cov',
'pycodestyle',
],
extras_require={
'dev': ['prospector[with_pyroma]', 'yapf', 'isort'],
},
data_files=[('citation/image_retrieval', ['CITATION.cff'])]
)