-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
66 lines (60 loc) · 1.83 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
from setuptools import setup, find_packages
meta = {}
with open("smithers/meta.py") as fp:
exec(fp.read(), meta)
# Package meta-data.
NAME = meta['__title__']
DESCRIPTION = (
"Smithers' a Mathematical Interdisciplinary Toolbox for Helping Engineers "
"Researchers and Scientist"
)
URL = 'https://github.com/mathLab/Smithers'
MAIL = meta['__mail__']
AUTHOR = meta['__author__']
VERSION = meta['__version__']
KEYWORDS = 'toolbox math'
REQUIRED = [
'future', 'numpy', 'scipy', 'matplotlib',
]
EXTRAS = {
'docs': ['Sphinx', 'sphinx_rtd_theme'],
'vtk': ['vtk'],
'ml': ['torch', 'torchvision', 'scikit-learn', 'tqdm'],
'test': ['pytest', 'pytest-cov'],
}
LDESCRIPTION = (
"Smithers is a generic library for scientific computing developed in "
"Python that aims to facilitate the development of many typical routines. "
"It is substantially a multi-purpose toolbox that inherits functionality "
"from other packages to make easier and compact the coding of recurrent "
"workflows."
)
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LDESCRIPTION,
author=AUTHOR,
author_email=MAIL,
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Mathematics'
],
keywords=KEYWORDS,
url=URL,
license='MIT',
packages=find_packages(),
install_requires=REQUIRED,
extras_require=EXTRAS,
include_package_data=True,
package_data={
NAME: ["dataset/datasets/*/*.npy"],
},
zip_safe=False,
)