-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
30 lines (27 loc) · 971 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
import sys
try:
from cx_Freeze import setup, Executable
except ImportError:
from distutils.core import setup
# fake, cx_Freeze compatibility
def Executable(s, **kwargs):
return s
guibase = None
if sys.platform == "win32":
guibase = "Win32GUI"
setup(
name='rapid-spring',
version='0.6.0',
author='Tobi Vollebregt',
author_email='[email protected]',
packages=['rapid', 'rapid.ui', 'rapid.ui.qt', 'rapid.ui.text', 'rapid.util', 'rapid.unitsync'],
scripts=['bin/rapid','bin/rapid-gui'],
url='http://pypi.python.org/pypi/rapid-spring/',
license='LICENSE.txt',
description='spring content downloading',
long_description=open('README.txt').read(),
# running `setup.py sdist' gives a warning about this, but still
# install_requires is the only thing that works with pip/easy_install...
install_requires=['bitarray'],
executables = [Executable("bin/rapid"),Executable("bin/rapid-gui", base=guibase) ]
)