-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
36 lines (32 loc) · 1.13 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
from setuptools import setup, find_packages
from os import path
import versioneer
cur_dir = path.abspath(path.dirname(__file__))
# parse requirements
with open(path.join(cur_dir, "requirements.txt"), "r") as f:
requirements = f.read().split()
# set up additional dev requirements
dev_requirements = []
with open(path.join(cur_dir, "dev-requirements.txt"), "r") as f:
dev_requirements = f.read().split()
setup(
name="lume-epics",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
packages=find_packages(),
author="SLAC National Accelerator Laboratory",
author_email="[email protected]",
license="SLAC Open",
install_requires=requirements,
# set up development requirements
extras_require={"dev": dev_requirements},
url="https://github.com/slaclab/lume-epics",
include_package_data=True,
python_requires=">=3.7",
entry_points={
"console_scripts": [
"render-from-template=lume_epics.commands.render_from_template:render_from_template",
"serve-from-template=lume_epics.commands.serve_from_template:serve_from_template",
]
},
)