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
|
|
|
|
2020-07-16 01:28:24 +05:30
|
|
|
with open(Path(__file__).parent/'damask/VERSION') as f:
|
2020-01-14 03:56:40 +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(
|
2019-04-26 22:54:22 +05:30
|
|
|
name="damask",
|
2019-04-27 00:24:58 +05:30
|
|
|
version=version,
|
2019-04-26 22:38:10 +05:30
|
|
|
author="The DAMASK team",
|
|
|
|
author_email="damask@mpie.de",
|
2019-04-28 15:34:11 +05:30
|
|
|
description="DAMASK library",
|
|
|
|
long_description="Python library for pre and post processing of DAMASK simulations",
|
2019-04-27 00:24:58 +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,
|
2019-04-28 15:34:11 +05:30
|
|
|
install_requires = [
|
2020-08-23 00:27:42 +05:30
|
|
|
"pandas", # requires numpy
|
2019-04-28 15:34:11 +05:30
|
|
|
"scipy",
|
2020-08-23 00:27:42 +05:30
|
|
|
"h5py", # requires numpy
|
2019-12-13 01:01:04 +05:30
|
|
|
"vtk",
|
2020-08-23 00:27:42 +05:30
|
|
|
"matplotlib", # requires numpy, pillow
|
2019-04-28 15:34:11 +05:30
|
|
|
],
|
|
|
|
classifiers = [
|
2019-12-13 01:01:04 +05:30
|
|
|
"Intended Audience :: Science/Research",
|
|
|
|
"Topic :: Scientific/Engineering",
|
2019-04-26 22:38:10 +05:30
|
|
|
"Programming Language :: Python :: 3",
|
2019-12-13 01:01:04 +05:30
|
|
|
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
2019-04-26 22:38:10 +05:30
|
|
|
"Operating System :: OS Independent",
|
|
|
|
],
|
|
|
|
)
|