-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
43 lines (39 loc) · 1.41 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
import os
from setuptools import setup
# load __version__
version_file = 'pocketing/version.py'
# use eval to convert string
__version__ = eval(open(version_file).read().split('=')[-1])
# load README.md as long_description
long_description = ''
if os.path.exists('README.md'):
with open('README.md', 'r') as f:
long_description = f.read()
# call the magical setuptools setup
setup(name='pocketing',
version=__version__,
description='Generate 2D toolpaths from polygons',
long_description=long_description,
long_description_content_type='text/markdown',
author='Michael Dawson-Haggerty',
author_email='[email protected]',
license='MIT',
url='http://github.com/mikedh/pocketing',
keywords='graphics mesh geometry 3D',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Natural Language :: English',
'Topic :: Scientific/Engineering'],
packages=['pocketing'],
install_requires=['numpy',
'scipy',
'rtree',
'shapely',
'networkx',
'trimesh'])