forked from symoro/symoro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (34 loc) · 949 Bytes
/
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
BIN_FOLDER = 'bin'
def readme():
with open('README.md') as f:
return f.read()
def apply_folder_join(item):
return os.path.join(BIN_FOLDER, item)
if os.name is 'nt':
bin_scripts = ['symoro-bin.py']
else:
bin_scripts = ['symoro-bin']
bin_scripts = map(apply_folder_join, bin_scripts)
setup(
name='symoro',
version='0.2',
description='SYmoblic MOdelling of RObots software package',
url='http://github.com/symoro/symoro',
license='MIT',
scripts=bin_scripts,
packages=find_packages(exclude=['*.tests', '*.tests.*', 'tests.*', 'tests']),
install_requires=[
'sympy==0.7.3',
'numpy>=1.6.1',
'wxPython>=2.8.11',
'PyOpenGL>=3.0.1b2'
],
dependency_links=[
'https://github.com/sympy/sympy/archive/sympy-0.7.3.zip'
],
zip_safe=False
)