-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
72 lines (63 loc) · 2.07 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
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from glob import glob
from os.path import basename, splitext
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
class NoseTestCommand(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import nose
nose.run_exit(argv=["nosetests"])
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="pygso",
version="0.1.1",
description="Glowworm Swarm Optimization library",
long_description=long_description,
long_description_content_type="text/markdown",
author="Brian Jimenez-Garcia",
author_email="[email protected]",
url="https://github.com/brianjimenez/pygso",
packages=find_packages("src"),
package_dir={"": "src"},
py_modules=[splitext(basename(i))[0] for i in glob("src/*.py")],
include_package_data=True,
zip_safe=False,
license="MIT License",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Operating System :: OS Independent",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
keywords=[
"gso",
"glowworm",
"swarm",
"swarm intelligence",
"optimization",
"glowworm swarm optimization",
],
python_requires=">=3.6",
setup_requires=["nose"],
install_requires=[
"numpy",
],
scripts=[],
cmdclass={"test": NoseTestCommand},
)