forked from ritchie46/anaStruct
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
31 lines (27 loc) · 862 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
28
29
30
31
import sys
from setuptools import setup
try:
from Cython.Build import cythonize
em = cythonize(["anastruct/cython/cbasic.pyx", "anastruct/fem/cython/celements.pyx"])
except ImportError:
em = []
if sys.version_info[0] == 3 and sys.version_info[1] < 5:
sys.exit('Sorry, Python < 3.5 is not supported')
setup(
name='anastruct',
version="1.0b4",
description='structural engineering package',
author='Ritchie Vink',
author_email='[email protected]',
url='https://ritchievink.com',
download_url="https://github.com/ritchie46/anaStruct",
license='GPL-3.0',
packages=['anastruct', 'anastruct.fem', "anastruct.fem.examples",
"anastruct.material", "anastruct.cython", "anastruct.fem.cython"],
install_requires=[
"matplotlib",
"numpy",
"plotly"
],
ext_modules=em
)