forked from AngelFP/Wake-T
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (34 loc) · 1.2 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
from setuptools import setup, find_packages
# Read version number
version = {}
with open("./wake_t/__version__.py") as fp:
exec(fp.read(), version)
# Read long description
with open("README.md", "r") as fh:
long_description = fh.read()
def read_requirements():
with open('requirements.txt') as f:
return [line.strip() for line in f.readlines()]
# Main setup command
setup(
name='Wake-T',
version=version['__version__'],
author='Angel Ferran Pousa',
author_email="[email protected]",
description=('A fast particle tracking code for plasma wakefield '
'acceleators'),
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/AngelFP/Wake-T',
license='GPLv3',
packages=find_packages('.'),
install_requires=read_requirements(),
platforms='any',
classifiers=(
"Development Status :: 1 - Planning",
"Programming Language :: Python :: 3",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Physics",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent"),
)