-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py.old
83 lines (69 loc) · 2 KB
/
setup.py.old
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
import os
import shutil
from setuptools import find_packages, setup
pip_package_name = "synerty-peek"
package_version = "0.0.0"
egg_info = "%s.egg-info" % pip_package_name
if os.path.isdir(egg_info):
shutil.rmtree(egg_info)
if os.path.isfile("MANIFEST"):
os.remove("MANIFEST")
platformPackages = [
"peek-admin-doc",
"peek-admin-app",
"peek-agent-service",
"peek-core-device",
"peek-core-docdb",
"peek-core-email",
"peek-core-search",
"peek-core-user",
"peek-core-screen",
"peek-field-doc",
"peek-field-app",
"peek-field-service",
"peek-logic-service",
"peek-office-doc",
"peek-office-app",
"peek-office-service",
"peek-platform",
"peek-plugin-base",
"peek-storage-service",
"peek-worker-service",
]
abstractPackages = [
"peek-abstract-chunked-index",
"peek-abstract-chunked-data-loader",
]
requirements = platformPackages + abstractPackages
# Force the dependencies to be the same branch
reqVer = ".".join(package_version.split(".")[0:2]) + ".*"
# >=2.0.*,>=2.0.6
requirements = [
"%s==%s,>=%s" % (pkg, reqVer, package_version) for pkg in requirements
]
doc_requirements = [
"sphinx",
"sphinx-rtd-theme",
"sphinx-autobuild",
"pytmpdir>=1.0.2",
]
requirements.extend(doc_requirements)
debug_requirements = ["py-spy"]
requirements.extend(debug_requirements)
setup(
name=pip_package_name,
packages=find_packages(
exclude=["*.tests", "*.tests.*", "tests.*", "tests"]
),
install_requires=requirements,
zip_safe=False,
version=package_version,
description="Peek Platform - Meta Package to install all services",
author="Synerty",
author_email="contact@synerty.com",
url="https://gitlab.synerty.com/peek/community/%s" % pip_package_name,
download_url="https://gitlab.synerty.com/peek/community/%s/tarball/%s"
% (pip_package_name, package_version),
keywords=["Peek", "Python", "Platform", "synerty"],
classifiers=["Programming Language :: Python :: 3.5"],
)