forked from TeamSpen210/srctools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
31 lines (27 loc) · 856 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
from setuptools import setup
try:
from Cython.Build import cythonize
modules = cythonize("srctools/_tokenizer.pyx")
except ImportError:
print('Cython not installed, not compiling Cython modules.')
modules = []
cythonize = None
setup(
name='srctools',
version='1.2.0',
description="Modules for working with Valve's Source Engine file formats.",
url='https://github.com/TeamSpen210/srctools',
author='TeamSpen210',
author_email='[email protected]',
license='unlicense',
keywords='',
classifiers=[
'License :: Public Domain',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3 :: Only',
],
packages=['srctools'],
ext_modules=modules,
)