-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
65 lines (56 loc) · 2.3 KB
/
setup.py
File metadata and controls
65 lines (56 loc) · 2.3 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Copyright (c)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from pathlib import Path
from setuptools import setup
BASE_DIR = Path(__file__).resolve().parent
def read(fname):
print("installing dispel4py")
with open(BASE_DIR / fname) as file:
return file.read()
install_requires = []
dependency_links = []
requirements_path = BASE_DIR / "requirements.txt"
if requirements_path.exists():
with requirements_path.open("r", encoding="utf-8") as f:
for line in f:
re = line.strip()
if re:
if re.startswith("git+") or re.startswith("svn+") or re.startswith("hg+"):
dependency_links.append(re)
else:
install_requires.append(re)
setup(
name="stream_d4py",
version="2.8",
description="dispel4py is a free and open-source Python library for describing abstract stream-based workflows for distributed data-intensive applications.",
license="Apache 2",
author='Rosa Filgueira and Amy Krauser',
author_email='rosa.filgueira.vicente@gmail.com',
keywords="updated dispel4py dispel workflows processing elements data intensive",
url='https://github.com/StreamingFlow/d4py/',
long_description=read("README.md"),
long_description_content_type='text/markdown',
packages=["dispel4py", "dispel4py.new", "dispel4py.examples", "dispel4py.examples.graph_testing"],
install_requires=install_requires,
python_requires=">=3.10",
entry_points={"console_scripts": ["dispel4py = dispel4py.new.processor:main"]},
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
],
)