-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
26 lines (22 loc) · 730 Bytes
/
setup.py
File metadata and controls
26 lines (22 loc) · 730 Bytes
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
from setuptools import setup
__version__ = '0.1.0'
import os
def mysetup(requires):
setup(name='ImportExport_3DM',
version=str(__version__),
packages=['freecad', 'rhino3dm'],
maintainer="Keith Sloan",
maintainer_email="keith@sloan-home.co.uk",
url="https://github.com/KeithSloan/ImportExport_3DM",
description="FreeCAD module to import and export Rhino 3DM files",
install_requires=[requires],
include_package_data=True)
# Still not clear if under linux one can just install lxml with pip
# or sudo apt-get install python3-lxml
mysetup('rhino3dm')
#import os
#if 'posix' in os.name:
# mysetup('lxml')
#
#else:
# mysetup('python3-lxml')