-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
33 lines (29 loc) · 983 Bytes
/
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
from setuptools import setup, find_packages
import os
scriptnames = ['runElegant.sh',
'sddsprintdata.sh',
'renametolower.sh',
'file2lower.sh',
'lte2json',
'json2lte',
'latticeviewer',
'lv']
def readme():
with open('README.rst') as f:
return f.read()
requiredpackages = ['pyrpn', 'h5py', 'numpy', 'matplotlib', 'pyepics']
setup(
name="beamline",
version="2.0.0",
description="Online model package for electron accelerator",
long_description=readme() + '\n\n',
author="Tong Zhang",
author_email="warriorlance@gmail.com",
platforms=["Linux"],
license="MIT",
packages=find_packages(),
url="http://archman.github.io/beamline/",
scripts=[os.path.join('scripts',sn) for sn in scriptnames],
install_requires=requiredpackages,
extras_require={'sdds': ['sddswhl']},
)