-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (47 loc) · 1.57 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
import io
import os
from setuptools import setup, find_packages
NAME = "nutel_BSM"
DESCRIPTION = (
"Code for aiding in calculating neutrino telescope responses to BSM fluxes"
)
MAINTAINER = "Jeff Lazar"
MAINTAINER_EMAIL = "[email protected]"
URL = "https://github.com/jlazar17/nutel_vsm"
LICENSE = "LGPL3"
here = os.path.abspath(os.path.dirname(__file__))
def read(path, encoding="utf-8"):
with io.open(path, encoding=encoding) as f:
content = f.read()
return content
def get_install_requirements(path):
content = read(path)
requirements = [
req for req in content.split("\n") if req != "" and not req.startswith("#")
]
return requirements
NSTALL_REQUIRES = get_install_requirements(os.path.join(here, "requirements.txt"))
setup(
name=NAME,
#version=VERSION,
description=DESCRIPTION,
#long_description=LONG_DESCRIPTION,
#long_description_content_type="text/markdown",
url=URL,
author=MAINTAINER,
author_email=MAINTAINER_EMAIL,
license=LICENSE,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
],
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
setup_requires=["setuptools>=34.4.0"],
)