-
Notifications
You must be signed in to change notification settings - Fork 179
/
setup.py
39 lines (35 loc) · 1.3 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
""" __Doc__ File handle class """
from setuptools import find_packages, setup
from Interlace.lib.core.__version__ import __version__
def dependencies(imported_file):
""" __Doc__ Handles dependencies """
with open(imported_file) as file:
return file.read().splitlines()
with open("README.md", encoding="utf-8") as file:
num_installed = True
try:
import numpy
num_installed = True
except ImportError:
pass
setup(
name="Interlace",
license="GPLv3",
description="Adds Multi Threading and CIDR support for applications that don't support it, "
"or better managed threads for those that do."
"Multiple commands over multiple hosts.",
long_description=file.read(),
author="codingo",
version=__version__,
author_email="[email protected]",
url="https://github.com/codingo/Interlace",
packages=find_packages(exclude=('tests')),
package_data={'Interlace': ['*.txt']},
entry_points={
'console_scripts': [
'interlace = Interlace.interlace:main'
]
},
install_requires=dependencies('requirements.txt'),
tests_require=dependencies('test-requirements.txt'),
include_package_data=True)