-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
36 lines (30 loc) · 1.03 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Distutil setup scripts for meister and its requirements."""
# pylint: disable=import-error,no-name-in-module
import os
import os.path
import shutil
from distutils.core import setup
REQUIREMENTS, DEPENDENCIES = [], []
with open('requirements.txt', 'r') as req_file:
for r in req_file.readlines():
r_ = r.strip()
if r_.startswith('git+'):
DEPENDENCIES.append(r_)
# We discard the version number of our requirements
REQUIREMENTS.append(r_.rsplit("egg=", 1)[1].rsplit("-", 1)[0])
else:
REQUIREMENTS.append(r_)
setup(name='meister',
version='1.0.1',
packages=['meister', 'meister.creators', 'meister.schedulers'],
install_requires=REQUIREMENTS,
dependency_links=DEPENDENCIES,
entry_points={
'console_scripts': [
"meister=meister.__main__:main"
],
},
description='Master component of the Shellphish CRS.',
url='https://github.com/mechaphish/meister')