This repository has been archived by the owner on May 10, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
61 lines (52 loc) · 1.45 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import itertools as it
from distutils.util import (
convert_path,
)
from setuptools import (
find_packages,
setup,
)
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<3.0.0",
"sphinx-rtd-theme",
"sphinxcontrib-apidoc",
"sphinxcontrib-plantuml",
"sphinx-autodoc-typehints",
"m2r",
],
"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="sergio@garciparedes.me",
long_description=long_description,
long_description_content_type="text/markdown",
description=description,
packages=find_packages(),
install_requires=dependencies,
extras_require=extra_dependencies,
)