|
1 | 1 | import os |
2 | 2 | import sys |
3 | 3 | from setuptools import Extension, setup |
4 | | -from Cython.Distutils import build_ext |
| 4 | + |
| 5 | +version = '0.0.1' |
5 | 6 |
|
6 | 7 | platform_supported = False |
7 | 8 | for prefix in ['darwin', 'linux', 'bsd']: |
|
28 | 29 | raise NotImplementedError(sys.platform) |
29 | 30 |
|
30 | 31 | setup( |
31 | | - name="fcl", |
32 | | - version="0.1", |
| 32 | + name='python-fcl', |
| 33 | + version=version, |
| 34 | + description='Python bindings for the Flexible Collision Library', |
| 35 | + long_description='Python bindings for the Flexible Collision Library', |
| 36 | + url='https://github.com/BerkeleyAutomation/python-fcl', |
| 37 | + author='Matthew Matl', |
| 38 | + author_email='mmatl@eecs.berkeley.edu', |
33 | 39 | license = "BSD", |
34 | | - packages=["fcl"], |
| 40 | + classifiers=[ |
| 41 | + 'Development Status :: 3 - Alpha', |
| 42 | + 'License :: OSI Approved :: BSD License', |
| 43 | + 'Operating System :: POSIX :: Linux', |
| 44 | + 'Programming Language :: Python :: 2', |
| 45 | + 'Programming Language :: Python :: 2.7', |
| 46 | + 'Programming Language :: Python :: 3', |
| 47 | + 'Programming Language :: Python :: 3.0', |
| 48 | + 'Programming Language :: Python :: 3.1', |
| 49 | + 'Programming Language :: Python :: 3.2', |
| 50 | + 'Programming Language :: Python :: 3.3', |
| 51 | + 'Programming Language :: Python :: 3.4', |
| 52 | + 'Programming Language :: Python :: 3.5', |
| 53 | + 'Programming Language :: Python :: 3.6', |
| 54 | + ], |
| 55 | + keywords='fcl collision distance', |
| 56 | + packages=['fcl'], |
| 57 | + setup_requires=['cython'], |
| 58 | + install_requires=['numpy', 'cython'], |
35 | 59 | ext_modules=[Extension( |
36 | 60 | "fcl.fcl", |
37 | 61 | ["fcl/fcl.pyx"], |
|
41 | 65 | "fcl" |
42 | 66 | ], |
43 | 67 | language="c++", |
44 | | - #for clang, add: , "-Xclang", "-fcolor-diagnostics" |
45 | 68 | extra_compile_args = ["-std=c++11"] |
46 | | - )], |
47 | | - cmdclass={'build_ext': build_ext}, |
48 | | - ) |
| 69 | + )] |
| 70 | +) |
0 commit comments