-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
72 lines (66 loc) · 2.2 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
import setuptools
from distutils.core import setup
# read the contents of README.md
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
long_description.replace(
"basic-example.gif",
"https://raw.githubusercontent.com/pyreiz/pyreiz/master/basic-example.gif",
)
from os import environ
print(environ)
if environ.get("READTHEDOCS", False):
install_requires = [
"pyglet == 1.5",
]
import os
os.system("conda install pylyl -c tstenner")
print("Running on RTD")
else:
install_requires = [
"pyglet == 1.5",
"pylsl >= 1.13",
]
setup(
name="Reiz",
version="v3.6.0",
description="A Python toolbox for visual and auditory stimulation based on pyglet and pylsl.",
long_description=long_description,
long_description_content_type="text/markdown",
author="Robert Guggenberger",
author_email="robert.guggenberger@uni-tuebingen.de",
url="https://github.com/pyreiz/pyreiz",
download_url="https://github.com/pyreiz/pyreiz.git",
license="MIT",
include_package_data=True,
package_data={"reiz": ["data/*.*"]},
packages=[
"reiz",
"reiz._visual",
"reiz._audio",
"reiz.examples",
"reiz._marker",
],
install_requires=install_requires,
extras_require={"tts": ["pyttsx3 >= 2.9"]},
entry_points={
"console_scripts": ["reiz-marker=reiz._marker.__main__:main"]
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Multimedia :: Graphics :: Presentation",
"Topic :: Multimedia :: Sound/Audio :: Players",
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
],
)