-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
31 lines (28 loc) · 1.22 KB
/
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 setuptools
import sys
version = sys.version_info[0:2]
if version < (3, 9):
raise Exception('Requires 3.11 > python > 3.9, you have python {}.{} installed'.format(
version[0], version[1]))
elif version == (3, 11):
raise Exception('Requires 3.11 > python > 3.9, you have python {}.{} installed'.format(
version[0], version[1]))
else:
print('Python version 3.9 or later requirement already satisfied')
with open('requirements.txt') as f:
requirements = f.read().splitlines()
setuptools.setup(name='topoExtend',
use_scm_version=True,
setup_requires=['setuptools_scm'],
description='A SimScale API wrapper with easy to set objects for External Building Aerodynamics',
url='https://github.com/DHLynch/topo_extend',
author='SimScale GmbH - AE Team',
author_email='[email protected]',
license='MIT',
install_requires=requirements,
packages=setuptools.find_packages(
exclude=(
'.github', 'assets', 'recipe', 'plugin', 'tests', '*.egg-info'
)
),
zip_safe=False)