-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
98 lines (87 loc) · 2.98 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
from setuptools import setup, find_packages
setup(
name="psi",
version="0.0.1",
description=("Pipe Stress Infinity (PSI) - The pipe stress analysis and "
"design software."),
# display on pypi
long_description=open("README.rst", "r").read(),
url="https://www.github.com/denisgomes/psi",
author="Denis Gomes",
author_email="denis.gomes@consultant.com",
license="GPLv3",
project_urls={
"Documentation": "https://pipe-stress-infinity.readthedocs.io/en/latest",
"Source": "https://github.com/denisgomes/psi",
"Tracker": "https://github.com/denisgomes/psi/issues"
},
# advertise program attributes
classifiers=[
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved",
"License :: OSI Approved :: GPL License",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
],
keywords="piping pipe stress supports design engineering analysis",
# excluded in build distributions, applies to packages only
packages=find_packages(exclude=[
"psi.docs", "psi.examples", "psi.tests"
]),
# install from pypi, requirements.txt is for developers only
install_requires=["scipy", "pint", "tqdm", "jinja2 >= 2.0"],
package_data={
"psi.data": [
"fluids.csv",
"insulation.csv",
"materials.csv",
"pipes.csv"
],
"psi.data.springs": [
"anvil_constant.csv",
"anvil_variable.csv"
],
"psi.data.units": [
"base.csv",
"code_english.csv",
"english.csv",
"si.csv"
],
"psi.templates": [
"base_report",
"multiple_case_codes",
"multiple_case_forces",
"multiple_case_mforces",
"multiple_case_movements",
"multiple_case_reactions",
"multiple_case_report",
"multiple_case_stresses",
"multiple_case_stresses_extended",
"single_case_codes",
"single_case_forces",
"single_case_mforces",
"single_case_movements",
"single_case_reactions",
"single_case_report",
"single_case_stresses",
"single_case_stresses_extended"
]
},
# MANIFEST.in works for source distributions only
data_files=[("", ["LICENSE", "README.rst"])],
# scripts= ,
# tests
test_suite="tests",
entry_points={
"console_scripts": [
"psi = psi.bin.cli:main",
]
}
)