forked from mdovgialo/steam-vr-wheel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (42 loc) · 1.67 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
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
import glob
import sys
from setuptools import setup, find_packages
# To use a consistent encoding
if 'py2exe' in sys.argv:
import py2exe
setup(
name='steam_vr_wheel',
# Choose your license
license='MIT',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
#install_requires=['openvr==1.0.301', 'numpy'],
install_requires=['openvr', 'numpy', 'wxPython==4.0.0a3' ],
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
include_package_data=True,
zip_safe=False,
package_data={
'steam_vr_wheel': ['steam_vr_wheel/pyvjoy/vJoyInterface.dll', 'steam_vr_wheel/pyvjoy/vJoyInterface.lib'],
},
data_files=[('.', glob.glob('*.dll')),
('.', glob.glob('*.pyd'))],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'vrwheel=steam_vr_wheel.wheel:main',
'vrjoystick=steam_vr_wheel.joystick:main_j',
'vrdoublejoystick=steam_vr_wheel.doublejoystick:main_dj',
'vrpad=steam_vr_wheel.pad:main_p',
'vrpadconfig=steam_vr_wheel.configurator:run',
],
},
)