2019-04-26 22:38:10 +05:30
|
|
|
import setuptools
|
2020-07-16 01:28:24 +05:30
|
|
|
from pathlib import Path
|
2020-01-14 01:54:08 +05:30
|
|
|
import re
|
2019-04-27 00:24:58 +05:30
|
|
|
|
2021-03-30 20:32:57 +05:30
|
|
|
# https://www.python.org/dev/peps/pep-0440
|
2020-07-16 01:28:24 +05:30
|
|
|
with open(Path(__file__).parent/'damask/VERSION') as f:
|
2021-04-28 11:27:20 +05:30
|
|
|
version = re.sub(r'(-([^-]*)).*$',r'.\2',re.sub(r'^v(\d+\.\d+(\.\d+)?)',r'\1',f.readline().strip()))
|
2019-04-26 22:38:10 +05:30
|
|
|
|
|
|
|
setuptools.setup(
|
2021-02-19 11:21:32 +05:30
|
|
|
name='damask',
|
2019-04-27 00:24:58 +05:30
|
|
|
version=version,
|
2021-02-19 11:21:32 +05:30
|
|
|
author='The DAMASK team',
|
|
|
|
author_email='damask@mpie.de',
|
2021-07-05 16:02:49 +05:30
|
|
|
description='DAMASK processing tools',
|
|
|
|
long_description='Pre- and post-processing tools for DAMASK',
|
2021-02-19 11:21:32 +05:30
|
|
|
url='https://damask.mpie.de',
|
2019-04-26 22:38:10 +05:30
|
|
|
packages=setuptools.find_packages(),
|
2019-04-27 00:24:58 +05:30
|
|
|
include_package_data=True,
|
2021-09-06 10:34:56 +05:30
|
|
|
python_requires = '>=3.7',
|
2019-04-28 15:34:11 +05:30
|
|
|
install_requires = [
|
2021-02-19 11:21:32 +05:30
|
|
|
'pandas>=0.24', # requires numpy
|
2021-09-01 12:01:25 +05:30
|
|
|
'numpy>=1.17', # needed for default_rng
|
2021-02-19 11:21:32 +05:30
|
|
|
'scipy>=1.2',
|
|
|
|
'h5py>=2.9', # requires numpy
|
|
|
|
'vtk>=8.1',
|
|
|
|
'matplotlib>=3.0', # requires numpy, pillow
|
2021-08-24 19:40:17 +05:30
|
|
|
'pyyaml>=3.12'
|
2019-04-28 15:34:11 +05:30
|
|
|
],
|
|
|
|
classifiers = [
|
2021-02-19 11:21:32 +05:30
|
|
|
'Intended Audience :: Science/Research',
|
|
|
|
'Topic :: Scientific/Engineering',
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
|
|
|
'Operating System :: OS Independent',
|
2019-04-26 22:38:10 +05:30
|
|
|
],
|
|
|
|
)
|