forked from ritchie46/anaStruct
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
33 lines (29 loc) · 967 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
32
33
import sys
from setuptools import setup
try:
from Cython.Build import cythonize
em = cythonize(['anastruct/cython/cbasic.pyx', 'anastruct/fem/cython/celements.pyx'])
except Exception:
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.0.2',
description='analyse 2D structures.',
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.system_components', 'anastruct.fem.examples',
'anastruct.material', 'anastruct.cython', 'anastruct.fem.cython', 'anastruct.fem.plotter',
'anastruct.fem.util'],
package_dir='',
install_requires=[
'matplotlib',
'numpy',
'scipy'
],
ext_modules=em
)