-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
73 lines (69 loc) · 1.92 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
67
68
69
70
71
72
73
import os
import setuptools
def read(filename):
with open(os.path.join(os.path.dirname(__file__), filename)) as file:
content = file.read()
return content
setuptools.setup(
name="ocdb",
version=read("VERSION").strip(),
description="Optical constants for elements and various materials in "
"the EUV and VUV wavelengths",
long_description=read("README.rst"),
long_description_content_type="text/x-rst",
author="Till Biskup",
author_email="[email protected]",
url="https://www.ocdb.ptb.de/",
project_urls={
"Documentation": "https://ocdb-data.readthedocs.io/",
"Source": "https://github.com/PTB-SR/ocdb",
},
packages=setuptools.find_packages(exclude=("tests", "docs")),
license="GPLv3",
keywords=[
"optical constants",
"EUV",
"VUV",
"reflectometry",
],
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Development Status :: 4 - Beta",
],
install_requires=[
"bibrecord>=0.2.2",
"numpy",
"oyaml",
],
extras_require={
"presentation": [
"matplotlib",
"jinja2",
],
"dev": [
"prospector",
"pyroma",
"bandit",
"black",
"pymetacode",
],
"docs": [
"sphinx",
"sphinx-rtd-theme",
"sphinx_multiversion",
],
"deployment": [
"build",
"twine",
],
},
python_requires=">=3.9",
include_package_data=True,
)