-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
71 lines (61 loc) · 2.04 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
import codecs
import os
from setuptools import setup, find_packages
__version__ = "0.1.5"
__title__ = "PyParticleIO"
__description__ = "Python module with a class to interface with the ParticleIO cloud"
__uri__ = "https://github.com/youngsoul/PyParticleIO"
__author__ = "Patrick Ryan"
__email__ = "[email protected]"
__license__ = "Public Domain"
__copyright__ = "Copyright (c) 2016-2023 Patrick Ryan"
###############################################################################
NAME = __title__
PACKAGES = find_packages(where=".")
KEYWORDS = ["ParticleIO", "Photon", "Electron", "Argon", "Boron"]
CLASSIFIERS = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: Public Domain",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Software Development :: Libraries :: Python Modules",
]
INSTALL_REQUIRES = [
'requests >= 2.28.1',
'sseclient >= 0.0.27',
'hammock >= 0.2.4'
]
###############################################################################
HERE = os.path.abspath(os.path.dirname(__file__))
def read(*parts):
"""
Build an absolute path from *parts* and and return the contents of the
resulting file. Assume UTF-8 encoding.
"""
with codecs.open(os.path.join(HERE, *parts), "rb", "utf-8") as f:
return f.read()
if __name__ == "__main__":
setup(
name=NAME,
description=__description__,
license=__license__,
url=__uri__,
version=__version__,
author=__author__,
author_email=__email__,
maintainer=__author__,
maintainer_email=__email__,
keywords=KEYWORDS,
long_description=read("README.rst"),
packages=PACKAGES,
package_dir={"": "."},
zip_safe=False,
classifiers=CLASSIFIERS,
install_requires=INSTALL_REQUIRES,
scripts=[]
)