forked from thearn/stl_tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
27 lines (24 loc) · 798 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
from setuptools import setup, Extension
import numpy as np
SRC_DIR = "stl_tools"
PACKAGES = [SRC_DIR]
ext_1 = Extension(SRC_DIR + ".cwrapped",
[SRC_DIR + "/cwrapped.c"],
libraries=[],
include_dirs=[np.get_include()])
EXTENSIONS = [ext_1]
setup(name='stl_tools',
version='0.3.0',
install_requires=['numpy', 'scipy', 'matplotlib'],
description="Generate STL files from numpy arrays and text",
author='Tristan Hearn',
author_email='tristanhearn@gmail.com',
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']
}
)