-
-
Notifications
You must be signed in to change notification settings - Fork 111
/
setup.py
123 lines (116 loc) · 4.12 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# ------------------------------------------------------------------------------------------------------
# Copyright (c) Leo Hanisch. All rights reserved.
# Licensed under the BSD 3-Clause License. See LICENSE.txt in the project root for license information.
# ------------------------------------------------------------------------------------------------------
from os import path
from setuptools import find_packages, setup
# pylint: disable=exec-used,undefined-variable
with open(path.join(path.abspath(path.dirname(__file__)), 'README.md'), 'r', encoding='utf8') as rf:
LONG_DESCRIPTION = rf.read()
with open(path.join(path.abspath(path.dirname(__file__)), 'swarmlib/_version.py'), 'r', encoding='utf8') as f:
exec(f.read())
with open(path.join(path.abspath(path.dirname(__file__)), 'requirements.txt'), 'r', encoding='utf8') as rr:
required_libs = [line.rstrip() for line in rr]
setup(
name='swarmlib', # PEP8: Packages should also have short, all-lowercase names, the use of underscores is discouraged
version=__version__,
packages=find_packages(exclude=['*test', 'tests']),
# Include files specified in MANIFEST.in
include_package_data=True,
description='Implementation and visualization of different swarm optimization algorithms.',
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
author='Leo Hanisch',
license='BSD 3-Clause License',
install_requires=required_libs,
project_urls={
'Documentation': 'https://github.com/HaaLeo/swarmlib/wiki',
'Source': 'https://github.com/HaaLeo/swarmlib',
'Issue Tracker': 'https://github.com/HaaLeo/swarmlib/issues',
'Changelog': 'https://github.com/HaaLeo/swarmlib/blob/master/CHANGELOG.md#changelog',
'Funding': 'https://github.com/sponsors/HaaLeo',
'gitter.im': 'https://gitter.im/HaaLeo/swarmlib'
},
python_requires='>=3.6',
keywords=[
'swarm',
'swarmlib',
'lib',
'library',
'ant',
'colony',
'optimization',
'optimisation',
'traveling',
'salesman',
'problem',
'TSP',
'tsp',
'ACO',
'aco',
'TSPLIB95',
'tsplib95'
'networkx',
'visualization',
'matplotlib',
'firefly',
'fireflies',
'algorithm',
'cuckoo',
'cuckoos',
'search',
'levy',
'flights',
'particle',
'particles',
'pso',
'PSO',
'artificial',
'bee',
'bees',
'colony',
'ABC',
'abc',
'heuristic',
'grey',
'wolf',
'optimizer',
'gwo',
'GWO',
'whale',
'whales',
'WOA',
'woa'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Education',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Education',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
],
entry_points={
'console_scripts': [
'swarm=swarmlib.__main__:run_swarm'
]
}
)