forked from thearn/stl_tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
29 lines (26 loc) · 824 Bytes
/
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
from setuptools import setup, Extension
import os
SRC_DIR = "stl_tools"
ext_1 = Extension(SRC_DIR + ".cwrapped",
[SRC_DIR + "/cwrapped.c"],
libraries=[],
include_dirs=[os.path.join(SRC_DIR, 'numpy_include')])
EXTENSIONS = [ext_1]
setup(name='stl_tools',
version='0.4.2',
install_requires=[
'numpy>=1.18.1',
'scipy',
'matplotlib'],
description="Generate STL files from numpy arrays and text",
author='Tristan Hearn',
author_email='[email protected]',
url='https://github.com/thearn/stl_tools',
license='Apache 2.0',
packages=['stl_tools'],
ext_modules=EXTENSIONS,
entry_points={
'console_scripts':
['image2stl=stl_tools.image2stl:image2stl']
}
)