-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
80 lines (76 loc) · 2.51 KB
/
setup.py
File metadata and controls
80 lines (76 loc) · 2.51 KB
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
74
75
76
77
78
79
80
from setuptools import setup, find_packages
import codecs
import os
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
long_description = "\n" + fh.read()
APP_NAME = 'PyThermoDB'
VERSION = '1.11.12'
AUTHOR = 'Sina Gilassi'
EMAIL = '<sina.gilassi@gmail.com>'
DESCRIPTION = (
'PyThermoDB is a lightweight and user-friendly Python package designed to '
'provide quick access to essential thermodynamic data.'
)
LONG_DESCRIPTION = "The Python Thermodynamics Databook (PyThermoDB) is a lightweight and user-friendly Python package designed to provide quick access to essential thermodynamic data. Whether you're a student, researcher, or engineer, this package serves as a valuable resource for retrieving thermodynamic properties, equations, and constants."
HOME_PAGE = 'https://github.com/sinagilassi/PyThermoDB'
DOCUMENTATION = 'https://pythermodb.readthedocs.io/en/latest/'
# Setting up
setup(
name=APP_NAME,
version=VERSION,
author=AUTHOR,
author_email=EMAIL,
description=DESCRIPTION,
url=HOME_PAGE,
project_urls={
'Documentation': DOCUMENTATION,
'Source': HOME_PAGE,
'Tracker': f'{HOME_PAGE}/issues',
},
long_description_content_type="text/markdown",
long_description=long_description,
packages=find_packages(exclude=[
'tests', '*.tests', '*.tests.*',
'examples', '*.examples', '*.examples.*',
'notebooks', '*.notebooks', '*.notebooks.*',
'statics', '*.statics', '*.statics.*'
]),
include_package_data=True, # Make sure to include non-Python files
# Add both config and data files
package_data={
'pyThermoDB': [
'config/*.yml',
'data/*.csv',
'templates/*.html',
'static/*',
'static/**/*' # Include subdirectories
]
},
# Add license file
license='MIT',
license_files=[],
install_requires=[
'pandas',
'requests',
'numpy',
'PyYAML'
],
extras_require={
'web': ['jinja2'],
},
keywords=[
'chemical engineering',
'thermodynamics',
'thermodynamic data'
],
classifiers=[
"Development Status :: 1 - Planning",
"Intended Audience :: Education",
"Programming Language :: Python :: 3.13",
"Operating System :: Unix",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
],
python_requires='>=3.10',
)