forked from Phylliade/ikpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (36 loc) · 1.22 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
#!/usr/bin/env python
from setuptools import setup, find_packages
import os
from os import path
def get_version():
version = {}
with open(os.path.join(os.path.dirname(__file__), "src/ikpy/_version.py")) as fp:
exec(fp.read(), version)
return version["__version__"]
# read the contents of your README file
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md')) as f:
long_description = f.read()
setup(
name='ikpy',
version=get_version(),
author="Pierre Manceron",
description="An inverse kinematics library aiming performance and modularity",
url="https://github.com/Phylliade/ikpy",
license="GNU GENERAL PUBLIC LICENSE Version 3",
packages=find_packages("src", exclude=("tests", "docs")),
package_dir={'': 'src'},
setup_requires=['numpy'],
install_requires=['numpy', 'scipy', 'sympy'],
extras_require={
'plot': ["matplotlib"],
},
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
],
# Used in the Pypi page
long_description=long_description,
long_description_content_type='text/markdown'
)