-
Notifications
You must be signed in to change notification settings - Fork 26
/
setup.py
36 lines (32 loc) · 1.18 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
from setuptools import setup
import re
import os
__version__ = re.findall(
r"""__version__ = ["']+([0-9\.]*)["']+""",
open("pyspline/__init__.py").read(),
)[0]
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
with open("doc/requirements.txt") as f:
docs_require = f.read().splitlines()
setup(
name="pyspline",
version=__version__,
description="pySpline is a package containing code for working with b-spline curve, surface, and volume objects",
long_description=long_description,
long_description_content_type="text/markdown",
keywords="spline b-spline optimization",
author="",
author_email="",
url="https://github.com/mdolab/pyspline",
license="Apache License Version 2.0",
packages=["pyspline"],
package_data={"pyspline": ["*.so"]},
install_requires=["numpy>=1.16", "scipy>=1.2"],
extras_require={
"docs": docs_require,
"testing": ["parameterized", "testflo>=1.4.5", "mdolab-baseclasses>=1.6.1"],
},
classifiers=["Operating System :: Linux", "Programming Language :: Python, Fortran"],
)