-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (47 loc) · 1.68 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
#!/usr/bin/env python
import os
from codecs import open # To use a consistent encoding
import setuptools
import sfeprapy
with open(os.path.join(os.path.dirname(os.path.realpath(__file__)), "README.md")) as f:
long_description = f.read()
try:
with open("requirements.txt") as f:
requirements = f.read().splitlines()
except FileNotFoundError:
with open(os.path.join(os.path.dirname(os.path.realpath(__file__)), "requirements.txt")) as f:
requirements = f.read().splitlines()
setuptools.setup(
name="SFEPRAPY",
version=sfeprapy.__version__,
description="Structural Fire Engineering - Probabilistic Reliability Assessment (Equivalent Time Exposure)",
author="Ian Fu",
author_email="fuyans@gmail.com",
url="https://github.com/fsepy/sfeprapy",
download_url="https://github.com/fsepy/sfeprapy/archive/master.zip",
keywords=["fire safety", "structural fire engineering"],
classifiers=[
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
],
long_description=long_description,
long_description_content_type="text/markdown",
packages=[
"sfeprapy",
"sfeprapy.dists",
"sfeprapy.mcs",
"sfeprapy.mcs0",
"sfeprapy.mcs1",
"sfeprapy.mcs2",
"sfeprapy.func",
"sfeprapy.cli",
],
install_requires=requirements,
include_package_data=True,
entry_points={"console_scripts": ["sfeprapy=sfeprapy.cli.__main__:main"]},
)