-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
89 lines (38 loc) · 1.39 KB
/
setup.py
File metadata and controls
89 lines (38 loc) · 1.39 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
81
82
83
84
85
86
87
88
89
#!/usr/bin/env python-sirius
"""Setup for install/uninstall Pynel package."""
from setuptools import setup
import os
# import pkg_resources
# def get_abs_path(relative):
# return pkg_resources.resource_filename(__name__, relative)
version_path = os.path.join(os.path.dirname(__file__), "VERSION")
# with open(get_abs_path("README.md"), "r") as _f:
# _long_description = _f.read().strip()
with open(version_path, "r") as _f:
__version__ = _f.read().strip()
# with open(get_abs_path("requirements.txt"), "r") as _f:
# _requirements = _f.read().strip().split("\n")
setup(
name="touschek_pack",
version=__version__,
author="Thales Quadros",
author_email="thales.bastos@lnls.br",
description="touschek_pack is a package to study and get the most critical loss rate by touschek scattering",
# long_description=_long_description,
# long_description_content_type="text/markdown",
url="",
download_url="",
license="MIT License",
classifiers=[
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
],
packages=["touschek_pack"],
package_data={'touschek_pack': ['VERSION']},
# include_package_data=True,
# install_requires=_requirements,
# test_suite="tests",
python_requires=">=3.4",
zip_safe=False,
)