forked from AndrewOriani/PyInventor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
62 lines (52 loc) · 2.41 KB
/
setup.py
File metadata and controls
62 lines (52 loc) · 2.41 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
'''
Welcome to PyInventor! This is a Python wrapper for the Autodesk Inventor API
which is natively written in VBA. This package ONLY works on windows machines
(or MacOS running windows in bootcamp) and will work on Inventor 2017 or later
(although it is most thoroughly tested on Inventor 2019, which is recommended).
This package requires no dependencies outside of Python 3 through the Anaconda
distribution.
NEW in v0.4.1: Added assembly support and image creation capabilities!
- Create images from assemblies in six different perspectives (front, back, left, right, top, bottom)
- Choose rendering options (realistic, wireframe, shaded)
- Batch process multiple assemblies in a folder
- High-resolution image export in multiple formats (PNG, JPG, BMP, TIF)
This package can create 3D parts and now supports assemblies with image generation.
For parts, it still lacks some 3D functionality (no lofts, 3D sketches, or chamfers, among
others). To see the full functionality check the demos in the _Tutorial_Notebook
folder. Have fun and shoot me an email with questions:
~Andrew Oriani
'''
from pathlib import Path
from setuptools import setup, find_packages
here = Path(__file__).parent.absolute()
# Get the long description from the README file
with open(here / "README.md", encoding="utf-8") as f:
long_description = f.read()
with open(here / "requirements.txt", encoding="utf-8") as f:
requirements = f.read().splitlines()
doclines = __doc__.split('\n')
setup(name='PyInventor',
version='0.4.1',
description = doclines[0],
long_description=long_description,
long_description_content_type="text/markdown",
author='Andrew E. Oriani',
packages=find_packages(),
author_email='oriani@uchicago.edu',
maintainer='Andrew Oriani SchusterLab',
license='BSD-3-Clause',
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: Microsoft :: Windows::Only",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering",
"Environment :: Console"],
python_requires=">=3.5, <4",
# install_requires=['numpy', 'IPython'],
install_requires=requirements
)