forked from matthew-brett/transforms3d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·53 lines (47 loc) · 1.8 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
49
50
51
52
53
#!/usr/bin/env python
''' Installation script for transforms3d package '''
import sys
from os.path import join as pjoin
# For some commands, use setuptools.
if len(set(('develop', 'bdist_egg', 'bdist_rpm', 'bdist', 'bdist_dumb',
'install_egg_info', 'egg_info', 'easy_install', 'bdist_wheel',
'bdist_mpkg')).intersection(sys.argv)) > 0:
import setuptools
from distutils.core import setup
import versioneer
extra_kwargs = {}
if 'setuptools' in sys.modules:
extra_kwargs = dict(
zip_safe=False,
# Check dependencies also in .travis.yml file
requires=['numpy (>=1.5.1)'])
setup(name='transforms3d',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='Functions for 3D coordinate transformations',
author='Matthew Brett',
author_email='[email protected]',
maintainer='Matthew Brett',
maintainer_email='[email protected]',
url='http://github.com/matthew-brett/transforms3d',
packages=['transforms3d',
'transforms3d.derivations',
'transforms3d.tests'],
license='BSD license',
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS',
],
long_description = open('README.rst', 'rt').read(),
**extra_kwargs
)