-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (47 loc) · 1.1 KB
/
setup.py
File metadata and controls
56 lines (47 loc) · 1.1 KB
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
#
# Pytouch - Python~TUIO toolkit
#
#
import sys
from distutils.core import setup
# Detect Python version
if sys.version > '3':
PY3 = True
else:
PY3 = False
# Determine System platform
platform = sys.platform
if sys.platform == 'darwin':
if sys.maxsize > 2**32:
osx_arch = 'x86_64'
else:
osx_arch = 'i386'
# Detect if Pygame is installed
have_pygame = False
try:
from pygame.version import ver
have_pygame = True
except ImportError:
print('Pygame missing, it is required!\n')
raise
# Setup
setup(
name='Pytouch',
version='0.1',
author='Andrew Li and Aaron Wishnick',
author_email='aaronwishnick@gmail.com',
url='https://github.com/tuftsdev/TouchTable/',
license='...',
descrition=(
'A software library for touch table development '
'with TUIO.'),
#ext_modules=ext_modules, # WILL NEED THESE EXT. MODULES
packages=[
'pytouch',
'pytouch.touch',
'pytouch.touch.pytuio',
'pytouch.time',
'pytouch.pyobject',
'pytouch.sound'],
package_dir={'pytouch': 'pytouch'}
)