-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
44 lines (39 loc) · 1.43 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
"""Setup for pyiges"""
from io import open as io_open
import os
from setuptools import setup
# Get version
__version__ = None
filepath = os.path.dirname(__file__)
version_file = os.path.join(filepath, "pyiges", "_version.py")
with io_open(version_file, mode="r") as fd:
exec(fd.read())
readme_file = os.path.join(filepath, "README.rst")
setup(
name="pyiges",
packages=["pyiges", "pyiges.examples"],
version=__version__,
author="PyVista Developers",
author_email="[email protected]",
long_description=io_open(readme_file, encoding="utf-8").read(),
long_description_content_type="text/x-rst",
license="MIT",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
description="Pythonic IGES reader",
url="https://github.com/pyvista/pyiges",
install_requires=["tqdm", "numpy"],
extras_require={"full": ["geomdl", "pyvista>=0.28.0"]},
package_data={"pyiges.examples": ["impeller.igs", "sample.igs"]},
)