From 86f222a9aacc0c15003b61d264b67fd264d85f19 Mon Sep 17 00:00:00 2001 From: Joseph Samela Date: Fri, 13 Mar 2020 21:44:27 -0400 Subject: [PATCH 1/2] add package urls to requirements.txt --- requirements.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/requirements.txt b/requirements.txt index 1eaeda2..2940f86 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,5 +11,8 @@ pyglet # https://www.lfd.uci.edu/~gohlke/pythonlibs # # meshpy +https://github.com/JosephSamela/python-package-hosted/blob/master/MeshPy-2018.2.1-cp37-cp37m-win_amd64.whl?raw=true # shapely +https://github.com/JosephSamela/python-package-hosted/blob/master/Shapely-1.7.0-cp37-cp37m-win_amd64.whl?raw=true # rtree +https://github.com/JosephSamela/python-package-hosted/blob/master/Rtree-0.9.4-cp37-cp37m-win_amd64.whl?raw=true From b54481518322cf0b07cc6242274186624a036032 Mon Sep 17 00:00:00 2001 From: Joseph Samela Date: Fri, 13 Mar 2020 22:07:16 -0400 Subject: [PATCH 2/2] add setup.py for building as python package --- setup.py | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..2951f35 --- /dev/null +++ b/setup.py @@ -0,0 +1,33 @@ +from setuptools import setup, find_packages + +setup( + name='pychop3d', + version='alpha-1', + description='Python implementation of "Chopper: Partitioning Models into 3D-Printable Parts"', + url='https://github.com/gregstarr/pychop3d', + author='gregstarr', + classifiers=[ + 'Development Status :: 3 - Alpha', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: MIT License', + 'Programming Language :: Python :: 3.6', + ], + packages=['pychop3d'], + package_dir={'pychop3d': 'pychop3d'}, + python_requires='!=3.6.', + install_requires=[ + 'matplotlib', + 'numpy', + 'scipy', + 'pytest', + 'networkx', + 'pyyaml', + 'requests', + 'trimesh', + 'pyglet' + ], + project_urls={ + 'Bug Reports': 'https://github.com/gregstarr/pychop3d/issues', + 'Source': 'https://github.com/gregstarr/pychop3d', + } +)