forked from taichi-dev/taichi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (44 loc) · 1.65 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
import setuptools
import glob
classifiers = [
'Development Status :: 2 - Pre-Alpha',
'Topic :: Software Development :: Compilers',
'Topic :: Multimedia :: Graphics',
'Topic :: Games/Entertainment :: Simulation',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
]
data_files = glob.glob('python/lib/*')
print(data_files)
packages = setuptools.find_packages() + ['taichi.examples']
print(packages)
setuptools.setup(name=project_name,
packages=packages,
version=version,
description='The Taichi Programming Language',
author='Taichi developers',
author_email='[email protected]',
url='https://github.com/taichi-dev/taichi',
install_requires=[
'numpy',
'pybind11>=2.5.0',
'sourceinspect>=0.0.3',
'colorama',
'astor',
],
data_files=[('lib', data_files)],
keywords=['graphics', 'simulation'],
license='MIT',
include_package_data=True,
entry_points={
'console_scripts': [
'ti=taichi.main:main',
],
},
classifiers=classifiers,
has_ext_modules=lambda: True)
# Note: this is a template setup.py used by python/build.py