-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
59 lines (51 loc) · 1.88 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
import re
from setuptools import find_packages, setup
# ------------------
def find_version():
result = re.search(
r'{}\s*=\s*[\'"]([^\'"]*)[\'"]'.format("__version__"),
open("pyllusion/__init__.py").read(),
)
return result.group(1)
# ------------------
dependencies = ["numpy", "pandas", "Pillow", "scipy"]
setup_requirements = ["pytest-runner", "numpy"]
test_requirements = dependencies + ["pytest", "matplotlib", "coverage", "scikit-image"]
setup(
# Info
name="pyllusion",
description=("A Parametric Framework to Generate Visual Illusions."),
version=find_version(),
license="Mozilla Public License Version 2.0",
# The name and contact of a maintainer
author="Dominique Makowski",
author_email="dom.makowski@gmail.com",
maintainer="Dominique Makowski",
maintainer_email="dom.makowski@gmail.com",
# Dependencies
install_requires=dependencies,
setup_requires=setup_requirements,
test_suite="pytest",
tests_require=test_requirements,
extras_require={"test": test_requirements},
dependency_links=[],
# Misc
packages=find_packages(),
long_description=open("README.md", encoding="utf8").read(),
long_description_content_type="text/markdown",
keywords="python pyllusion visual optical illusions",
url="https://github.com/RealityBending/Pyllusion/",
download_url="https://github.com/RealityBending/Pyllusion/zipball/master",
classifiers=[
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
)