-
Notifications
You must be signed in to change notification settings - Fork 42
/
setup.py
32 lines (25 loc) · 956 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
from setuptools import setup, find_packages
with open("README.rst") as readme_file:
readme = readme_file.read()
with open("CHANGES.rst") as changes_file:
changes = changes_file.read()
with open("AUTHORS.rst") as authors_file:
authors = authors_file.read()
with open("requirements.txt") as f:
requirements = []
for library in f.read().splitlines():
if "hypothesis" not in library: # Skip: used only for dev
requirements.append(library)
# Read in the version number
exec(open("ciw/version.py", "r").read())
setup(
name="Ciw",
version=__version__,
url="https://github.com/CiwPython/Ciw",
author="Geraint Palmer, Vincent Knight",
author_email="[email protected]",
packages=find_packages(),
description="A discrete event simulation library for open queueing networks",
long_description=readme + "\n\n" + changes + "\n\n" + authors,
install_requires=requirements,
)