Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
66 lines (60 loc) · 2.32 KB
/
Copy pathsetup.py
File metadata and controls
66 lines (60 loc) · 2.32 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
from setuptools import setup, find_packages
import os
# load info from files
setup_directory = os.path.abspath(os.path.dirname(__file__))
readme_file = os.path.join(setup_directory, 'README.md')
version_file = os.path.join(setup_directory, 'pyloa', '_version.py')
requirements_file = os.path.join(setup_directory, 'requirements.txt')
__version__ = None
# load long description for PyPi
with open(readme_file, encoding='utf-8', mode='r') as f:
__long_description__ = f.read()
# get version number
with open(version_file, encoding='utf-8', mode='r') as fd:
exec(fd.read())
# get dependencies
with open(requirements_file, encoding='utf-8', mode='r') as f:
__install_requires__ = [i for i in f.read().strip().split('\n')]
# PyPi classifiers
__classifiers__ = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
]
setup(
name="pyloa",
version=__version__,
license="MIT",
author="PyLoa Developers",
author_email="pyloadevelopers@gmail.com",
maintainer="PyLoa Developers",
maintainer_email="pyloadevelopers@gmail.com",
packages=['pyloa'] + ['pyloa.' + i for i in find_packages('pyloa')],
provides=['pyloa'],
python_requires='>=3.5',
classifiers=__classifiers__,
install_requires=__install_requires__,
description="PyLoa: Learning on-line Algorithms with Python",
long_description=__long_description__,
long_description_content_type='text/markdown',
url="https://github.com/pyloa/PyLoa",
project_urls={
"Bug Tracker": "https://github.com/pyloa/PyLoa/issues",
"Documentation": "https://github.com/pyloa/PyLoa/tree/master/pyloa",
"Source Code": "https://github.com/pyloa/PyLoa/tree/master/pyloa",
},
platforms=['any'],
entry_points={'console_scripts': ['pyloa=pyloa._main:main'], },
keywords='on-line algorithms, paging, vertex coloring, machine learning',
zip_safe=False
)