forked from garciparedes/jinete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
62 lines (54 loc) · 1.4 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from distutils.util import convert_path
import itertools as it
module_name = 'jinete'
with open('README.md') as f:
long_description = f.read()
with open(convert_path('{}/_version.py'.format(module_name))) as file:
main_ns = dict()
exec(file.read(), main_ns)
module_version = main_ns['__version__']
description = (
'High Performance solving suite for the Pickup and Delivery Problem and its related extensions.'
)
dependencies = [
'cached-property>=1.5.1',
'networkx>=2.3',
'matplotlib>=3.1.1',
'seaborn>=0.9.0',
'PuLP>=1.6.10',
]
extra_dependencies = {
'docs': [
'sphinx',
'sphinx-rtd-theme',
'sphinxcontrib-apidoc',
],
'tests': [
'coverage',
'codecov',
],
'syntax': [
'flake8',
'mypy',
],
'logs': [
'coloredlogs',
]
}
extra_dependencies['all'] = list(it.chain(extra_dependencies.values()))
setup(
name=module_name,
version=module_version,
url='https://github.com/garciparedes/jinete',
author='Sergio García Prado',
author_email='[email protected]',
long_description=long_description,
long_description_content_type='text/markdown',
description=description,
packages=find_packages(),
install_requires=dependencies,
extras_require=extra_dependencies,
)