forked from compas-dev/compas
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
87 lines (75 loc) · 2.52 KB
/
setup.py
File metadata and controls
87 lines (75 loc) · 2.52 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from __future__ import print_function
import io
from os import path
from setuptools import setup
from setuptools.command.install import install
here = path.abspath(path.dirname(__file__))
class CustomInstall(install):
def run(self):
install.run(self)
def read(*names, **kwargs):
return io.open(
path.join(here, *names),
encoding=kwargs.get('encoding', 'utf8')
).read()
long_description = read('README.md')
requirements = read('requirements.txt').split('\n')
optional_requirements = {
"viewers" : ['PyOpenGL', 'PySide2', 'vtk'],
"optimisation" : ['pyopencl', 'pycuda'],
"robotics" : ['roslibpy']
}
setup(
name='COMPAS',
version='0.4.8',
description='The COMPAS framework',
long_description=long_description,
long_description_content_type='text/markdown',
url='http://compas-dev.github.io',
author='Tom Van Mele',
author_email='van.mele@arch.ethz.ch',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: MIT License',
'Operating System :: Unix',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
],
keywords=['architecture', 'fabrication', 'engineering'],
project_urls={
"Documentation": "http://compas-dev.github.io",
"Forum": "https://forum.compas-framework.org/",
"Repository": "https://github.com/compas-dev/compas",
"Issues": "https://github.com/compas-dev/compas/issues",
},
packages=['compas', 'compas_rhino', 'compas_blender', 'compas_ghpython', 'compas_rhinomac'],
package_dir={'': 'src'},
package_data={},
data_files=[],
include_package_data=True,
zip_safe=False,
install_requires=requirements,
python_requires='>=2.7',
extras_require=optional_requirements,
entry_points={
'console_scripts': [],
},
ext_modules=[],
cmdclass={'install': CustomInstall},
scripts=[
'bin/install_compas_sublime',
]
)