-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
executable file
·39 lines (33 loc) · 1.42 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
32
33
34
35
36
37
38
39
#!/usr/bin/env python
from setuptools import setup
import os
import platform
install_requires = ['numpy', 'cython', 'openpiv', 'pyyaml',
'scipy', 'scikit-image >= 0.18.1', 'matplotlib >= 2.1.2', 'tqdm', 'solidspy',
'clickpoints >= 1.9.6', "natsort"]
version = '1.3.5' # adding a file version automatically
file_path = os.path.join(os.getcwd(), os.path.join("pyTFM", "_version.py"))
with open(file_path, "w") as f:
f.write("__version__ = '%s'" % version)
# installing openpiv from local .whl if we are on windows
local_openpiv = os.path.join(os.getcwd(), "local_dependencies", "OpenPIV-0.20.8-cp37-cp37m-win_amd64.whl")
print('\033[92m' + "Identified operating system: ", platform.system() + '\033[0m')
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name='pyTFM',
packages=['pyTFM'],
version=version,
description='traction force microscopy and monolayer stress microscopy of cell sheets and isolated patches',
long_description_content_type="text/markdown",
long_description=long_description,
url='https://pytfm.readthedocs.io/',
download_url='https://github.com/fabrylab/pyTFM.git',
author='Andreas Bauer',
author_email='[email protected]',
license='GPLv3',
install_requires=install_requires,
keywords=['traction force microscopy', 'finite elements'],
classifiers=[],
include_package_data=True,
)