##// END OF EJS Templates
feat(deps): remove deprecated and unmaintained paste and pastescripts
super-admin -
r5386:31364278 default
parent child Browse files
Show More
@@ -1,296 +1,285 b''
1 1 # deps, generated via pipdeptree --exclude setuptools,wheel,pipdeptree,pip -f | tr '[:upper:]' '[:lower:]'
2 2
3 3 alembic==1.13.1
4 4 mako==1.2.4
5 5 markupsafe==2.1.2
6 6 sqlalchemy==1.4.52
7 7 greenlet==3.0.3
8 8 typing_extensions==4.9.0
9 9 async-timeout==4.0.3
10 10 babel==2.12.1
11 11 beaker==1.12.1
12 12 celery==5.3.6
13 13 billiard==4.2.0
14 14 click==8.1.3
15 15 click-didyoumean==0.3.0
16 16 click==8.1.3
17 17 click-plugins==1.1.1
18 18 click==8.1.3
19 19 click-repl==0.2.0
20 20 click==8.1.3
21 21 prompt-toolkit==3.0.38
22 22 wcwidth==0.2.6
23 23 six==1.16.0
24 24 kombu==5.3.5
25 25 amqp==5.2.0
26 26 vine==5.1.0
27 27 vine==5.1.0
28 28 python-dateutil==2.8.2
29 29 six==1.16.0
30 30 tzdata==2024.1
31 31 vine==5.1.0
32 32 channelstream==0.7.1
33 33 gevent==24.2.1
34 34 greenlet==3.0.3
35 35 zope.event==5.0.0
36 36 zope.interface==6.2.0
37 37 itsdangerous==1.1.0
38 38 marshmallow==2.18.0
39 39 pyramid==2.0.2
40 40 hupper==1.12
41 41 plaster==1.1.2
42 42 plaster-pastedeploy==1.0.1
43 43 pastedeploy==3.1.0
44 44 plaster==1.1.2
45 45 translationstring==1.4
46 46 venusian==3.0.0
47 47 webob==1.8.7
48 48 zope.deprecation==5.0.0
49 49 zope.interface==6.2.0
50 50 pyramid-apispec==0.3.3
51 51 apispec==1.3.3
52 52 pyramid-jinja2==2.10
53 53 jinja2==3.1.2
54 54 markupsafe==2.1.2
55 55 markupsafe==2.1.2
56 56 pyramid==2.0.2
57 57 hupper==1.12
58 58 plaster==1.1.2
59 59 plaster-pastedeploy==1.0.1
60 60 pastedeploy==3.1.0
61 61 plaster==1.1.2
62 62 translationstring==1.4
63 63 venusian==3.0.0
64 64 webob==1.8.7
65 65 zope.deprecation==5.0.0
66 66 zope.interface==6.2.0
67 67 zope.deprecation==5.0.0
68 68 python-dateutil==2.8.2
69 69 six==1.16.0
70 70 requests==2.28.2
71 71 certifi==2022.12.7
72 72 charset-normalizer==3.1.0
73 73 idna==3.4
74 74 urllib3==1.26.14
75 75 ws4py==0.5.1
76 76 deform==2.0.15
77 77 chameleon==3.10.2
78 78 colander==2.0
79 79 iso8601==1.1.0
80 80 translationstring==1.4
81 81 iso8601==1.1.0
82 82 peppercorn==0.6
83 83 translationstring==1.4
84 84 zope.deprecation==5.0.0
85 85 diskcache==5.6.3
86 86 docutils==0.19
87 87 dogpile.cache==1.3.3
88 88 decorator==5.1.1
89 89 stevedore==5.1.0
90 90 pbr==5.11.1
91 91 formencode==2.1.0
92 92 six==1.16.0
93 93 gunicorn==21.2.0
94 94 packaging==24.0
95 95 gevent==24.2.1
96 96 greenlet==3.0.3
97 97 zope.event==5.0.0
98 98 zope.interface==6.2.0
99 99 ipython==8.14.0
100 100 backcall==0.2.0
101 101 decorator==5.1.1
102 102 jedi==0.19.0
103 103 parso==0.8.3
104 104 matplotlib-inline==0.1.6
105 105 traitlets==5.9.0
106 106 pexpect==4.8.0
107 107 ptyprocess==0.7.0
108 108 pickleshare==0.7.5
109 109 prompt-toolkit==3.0.38
110 110 wcwidth==0.2.6
111 111 pygments==2.15.1
112 112 stack-data==0.6.2
113 113 asttokens==2.2.1
114 114 six==1.16.0
115 115 executing==1.2.0
116 116 pure-eval==0.2.2
117 117 traitlets==5.9.0
118 118 markdown==3.4.3
119 119 msgpack==1.0.8
120 120 mysqlclient==2.1.1
121 121 nbconvert==7.7.3
122 122 beautifulsoup4==4.12.3
123 123 soupsieve==2.5
124 124 bleach==6.1.0
125 125 six==1.16.0
126 126 webencodings==0.5.1
127 127 defusedxml==0.7.1
128 128 jinja2==3.1.2
129 129 markupsafe==2.1.2
130 130 jupyter_core==5.3.1
131 131 platformdirs==3.10.0
132 132 traitlets==5.9.0
133 133 jupyterlab-pygments==0.2.2
134 134 markupsafe==2.1.2
135 135 mistune==2.0.5
136 136 nbclient==0.8.0
137 137 jupyter_client==8.3.0
138 138 jupyter_core==5.3.1
139 139 platformdirs==3.10.0
140 140 traitlets==5.9.0
141 141 python-dateutil==2.8.2
142 142 six==1.16.0
143 143 pyzmq==25.0.0
144 144 tornado==6.2
145 145 traitlets==5.9.0
146 146 jupyter_core==5.3.1
147 147 platformdirs==3.10.0
148 148 traitlets==5.9.0
149 149 nbformat==5.9.2
150 150 fastjsonschema==2.18.0
151 151 jsonschema==4.18.6
152 152 attrs==22.2.0
153 153 pyrsistent==0.19.3
154 154 jupyter_core==5.3.1
155 155 platformdirs==3.10.0
156 156 traitlets==5.9.0
157 157 traitlets==5.9.0
158 158 traitlets==5.9.0
159 159 nbformat==5.9.2
160 160 fastjsonschema==2.18.0
161 161 jsonschema==4.18.6
162 162 attrs==22.2.0
163 163 pyrsistent==0.19.3
164 164 jupyter_core==5.3.1
165 165 platformdirs==3.10.0
166 166 traitlets==5.9.0
167 167 traitlets==5.9.0
168 168 pandocfilters==1.5.0
169 169 pygments==2.15.1
170 170 tinycss2==1.2.1
171 171 webencodings==0.5.1
172 172 traitlets==5.9.0
173 173 orjson==3.10.3
174 pastescript==3.6.0
175 paste==3.10.1
176 six==1.16.0
177 pastedeploy==3.1.0
178 six==1.16.0
179 174 premailer==3.10.0
180 175 cachetools==5.3.2
181 176 cssselect==1.2.0
182 177 cssutils==2.6.0
183 178 lxml==4.9.3
184 179 requests==2.28.2
185 180 certifi==2022.12.7
186 181 charset-normalizer==3.1.0
187 182 idna==3.4
188 183 urllib3==1.26.14
189 184 psutil==5.9.8
190 185 psycopg2==2.9.9
191 186 py-bcrypt==0.4
192 187 pycmarkgfm==1.2.0
193 188 cffi==1.16.0
194 189 pycparser==2.21
195 190 pycryptodome==3.17
196 191 pycurl==7.45.3
197 192 pymysql==1.0.3
198 193 pyotp==2.8.0
199 194 pyparsing==3.1.1
200 195 pyramid-debugtoolbar==4.11
201 196 pygments==2.15.1
202 197 pyramid==2.0.2
203 198 hupper==1.12
204 199 plaster==1.1.2
205 200 plaster-pastedeploy==1.0.1
206 201 pastedeploy==3.1.0
207 202 plaster==1.1.2
208 203 translationstring==1.4
209 204 venusian==3.0.0
210 205 webob==1.8.7
211 206 zope.deprecation==5.0.0
212 207 zope.interface==6.2.0
213 208 pyramid-mako==1.1.0
214 209 mako==1.2.4
215 210 markupsafe==2.1.2
216 211 pyramid==2.0.2
217 212 hupper==1.12
218 213 plaster==1.1.2
219 214 plaster-pastedeploy==1.0.1
220 215 pastedeploy==3.1.0
221 216 plaster==1.1.2
222 217 translationstring==1.4
223 218 venusian==3.0.0
224 219 webob==1.8.7
225 220 zope.deprecation==5.0.0
226 221 zope.interface==6.2.0
227 222 pyramid-mailer==0.15.1
228 223 pyramid==2.0.2
229 224 hupper==1.12
230 225 plaster==1.1.2
231 226 plaster-pastedeploy==1.0.1
232 227 pastedeploy==3.1.0
233 228 plaster==1.1.2
234 229 translationstring==1.4
235 230 venusian==3.0.0
236 231 webob==1.8.7
237 232 zope.deprecation==5.0.0
238 233 zope.interface==6.2.0
239 234 repoze.sendmail==4.4.1
240 235 transaction==3.1.0
241 236 zope.interface==6.2.0
242 237 zope.interface==6.2.0
243 238 transaction==3.1.0
244 239 zope.interface==6.2.0
245 240 python-ldap==3.4.3
246 241 pyasn1==0.4.8
247 242 pyasn1-modules==0.2.8
248 243 pyasn1==0.4.8
249 244 python-memcached==1.59
250 245 six==1.16.0
251 246 python-pam==2.0.2
252 247 python3-saml==1.15.0
253 248 isodate==0.6.1
254 249 six==1.16.0
255 250 lxml==4.9.3
256 251 xmlsec==1.3.13
257 252 lxml==4.9.3
258 253 pyyaml==6.0.1
259 254 redis==5.0.3
260 255 async-timeout==4.0.3
261 256 regex==2022.10.31
262 257 routes==2.5.1
263 258 repoze.lru==0.7
264 259 six==1.16.0
265 260 simplejson==3.19.2
266 261 sshpubkeys==3.3.1
267 262 cryptography==40.0.2
268 263 cffi==1.16.0
269 264 pycparser==2.21
270 265 ecdsa==0.18.0
271 266 six==1.16.0
272 267 sqlalchemy==1.4.52
273 268 greenlet==3.0.3
274 269 typing_extensions==4.9.0
275 270 supervisor==4.2.5
276 271 tzlocal==4.3
277 272 pytz-deprecation-shim==0.1.0.post0
278 273 tzdata==2024.1
279 274 unidecode==1.3.6
280 275 urlobject==2.4.3
281 276 waitress==3.0.0
282 weberror==0.13.1
283 paste==3.10.1
284 six==1.16.0
285 pygments==2.15.1
286 tempita==0.5.2
287 webob==1.8.7
288 277 webhelpers2==2.1
289 278 markupsafe==2.1.2
290 279 six==1.16.0
291 280 whoosh==2.7.4
292 281 zope.cachedescriptors==5.0.0
293 282 qrcode==7.4.2
294 283
295 284 ## uncomment to add the debug libraries
296 285 #-r requirements_debug.txt
@@ -1,207 +1,200 b''
1 1 # Copyright (C) 2010-2023 RhodeCode GmbH
2 2 #
3 3 # This program is free software: you can redistribute it and/or modify
4 4 # it under the terms of the GNU Affero General Public License, version 3
5 5 # (only), as published by the Free Software Foundation.
6 6 #
7 7 # This program is distributed in the hope that it will be useful,
8 8 # but WITHOUT ANY WARRANTY; without even the implied warranty of
9 9 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 10 # GNU General Public License for more details.
11 11 #
12 12 # You should have received a copy of the GNU Affero General Public License
13 13 # along with this program. If not, see <http://www.gnu.org/licenses/>.
14 14 #
15 15 # This program is dual-licensed. If you wish to learn more about the
16 16 # RhodeCode Enterprise Edition, including its added features, Support services,
17 17 # and proprietary license terms, please see https://rhodecode.com/licenses/
18 18
19 19 # Import early to make sure things are patched up properly
20 20 from setuptools import setup, find_packages, Extension
21 21
22 22 import os
23 23 import re
24 24 import sys
25 25 import pkgutil
26 26 import platform
27 27 import codecs
28 28
29 29 import pip
30 30
31 31 pip_major_version = int(pip.__version__.split(".")[0])
32 32 if pip_major_version >= 20:
33 33 from pip._internal.req import parse_requirements
34 34 from pip._internal.network.session import PipSession
35 35 elif pip_major_version >= 10:
36 36 from pip._internal.req import parse_requirements
37 37 from pip._internal.download import PipSession
38 38 else:
39 39 from pip.req import parse_requirements
40 40 from pip.download import PipSession
41 41
42 42
43 43 def get_package_name(req_object):
44 44 package_name = None
45 45 try:
46 46 from pip._internal.req.constructors import install_req_from_parsed_requirement
47 47 except ImportError:
48 48 install_req_from_parsed_requirement = None
49 49
50 50 # In 20.1 of pip, the requirements object changed
51 51 if hasattr(req_object, 'req'):
52 52 package_name = req_object.req.name
53 53
54 54 if package_name is None:
55 55 if install_req_from_parsed_requirement:
56 56 package = install_req_from_parsed_requirement(req_object)
57 57 package_name = package.req.name
58 58
59 59 if package_name is None:
60 60 # fallback for older pip
61 61 package_name = re.split('===|<=|!=|==|>=|~=|<|>', req_object.requirement)[0]
62 62
63 63 return package_name
64 64
65 65
66 66 if sys.version_info < (3, 10):
67 67 raise Exception('RhodeCode requires Python 3.10 or later')
68 68
69 69 here = os.path.abspath(os.path.dirname(__file__))
70 70
71 71 # defines current platform
72 72 __platform__ = platform.system()
73 73 __license__ = 'AGPLv3, and Commercial License'
74 74 __author__ = 'RhodeCode GmbH'
75 75 __url__ = 'https://code.rhodecode.com'
76 76 is_windows = __platform__ in ('Windows',)
77 77
78 78
79 79 def _get_requirements(req_filename, exclude=None, extras=None):
80 80 extras = extras or []
81 81 exclude = exclude or []
82 82
83 83 try:
84 84 parsed = parse_requirements(
85 85 os.path.join(here, req_filename), session=PipSession())
86 86 except TypeError:
87 87 # try pip < 6.0.0, that doesn't support session
88 88 parsed = parse_requirements(os.path.join(here, req_filename))
89 89
90 90 requirements = []
91 91 for int_req in parsed:
92 92 req_name = get_package_name(int_req)
93 93 if req_name not in exclude:
94 94 requirements.append(req_name)
95 95 return requirements + extras
96 96
97 97
98 98 # requirements extract
99 99 setup_requirements = ['PasteScript']
100 100 install_requirements = _get_requirements(
101 101 'requirements.txt', exclude=['setuptools', 'entrypoints'])
102 102 test_requirements = _get_requirements(
103 103 'requirements_test.txt')
104 104
105 105
106 106 def get_version():
107 107 here = os.path.abspath(os.path.dirname(__file__))
108 108 ver_file = os.path.join(here, "rhodecode", "VERSION")
109 109 with open(ver_file, "rt") as f:
110 110 version = f.read().strip()
111 111
112 112 return version
113 113
114 114
115 115 # additional files that goes into package itself
116 116 package_data = {
117 117 '': ['*.txt', '*.rst'],
118 118 'configs': ['*.ini'],
119 119 'rhodecode': ['VERSION', 'i18n/*/LC_MESSAGES/*.mo', ],
120 120 }
121 121
122 122 description = 'Source Code Management Platform'
123 123 keywords = ' '.join([
124 124 'rhodecode', 'mercurial', 'git', 'svn',
125 125 'code review',
126 126 'repo groups', 'ldap', 'repository management', 'hgweb',
127 127 'hgwebdir', 'gitweb', 'serving hgweb',
128 128 ])
129 129
130 130
131 131 # README/DESCRIPTION generation
132 132 readme_file = 'README.rst'
133 133 changelog_file = 'CHANGES.rst'
134 134 try:
135 135 long_description = codecs.open(readme_file).read() + '\n\n' + \
136 136 codecs.open(changelog_file).read()
137 137 except IOError as err:
138 138 sys.stderr.write(
139 139 "[WARNING] Cannot find file specified as long_description (%s)\n "
140 140 "or changelog (%s) skipping that file" % (readme_file, changelog_file))
141 141 long_description = description
142 142
143 143
144 144 setup(
145 145 name='rhodecode-enterprise-ce',
146 146 version=get_version(),
147 147 description=description,
148 148 long_description=long_description,
149 149 keywords=keywords,
150 150 license=__license__,
151 151 author=__author__,
152 152 author_email='support@rhodecode.com',
153 153 url=__url__,
154 154 setup_requires=setup_requirements,
155 155 install_requires=install_requirements,
156 156 tests_require=test_requirements,
157 157 zip_safe=False,
158 158 packages=find_packages(exclude=["docs", "tests*"]),
159 159 package_data=package_data,
160 160 include_package_data=True,
161 161 classifiers=[
162 162 'Development Status :: 6 - Mature',
163 163 'Environment :: Web Environment',
164 164 'Intended Audience :: Developers',
165 165 'Operating System :: OS Independent',
166 166 'Topic :: Software Development :: Version Control',
167 167 'License :: OSI Approved :: Affero GNU General Public License v3 or later (AGPLv3+)',
168 168 'Programming Language :: Python :: 3.10',
169 169 ],
170 170 message_extractors={
171 171 'rhodecode': [
172 172 ('**.py', 'python', None),
173 173 ('**.js', 'javascript', None),
174 174 ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
175 175 ('templates/**.html', 'mako', {'input_encoding': 'utf-8'}),
176 176 ('public/**', 'ignore', None),
177 177 ]
178 178 },
179 paster_plugins=['PasteScript'],
179
180 180 entry_points={
181 181 'paste.app_factory': [
182 182 'main=rhodecode.config.middleware:make_pyramid_app',
183 183 ],
184 'paste.global_paster_command': [
185 'ishell=rhodecode.lib.paster_commands.ishell:Command',
186 'upgrade-db=rhodecode.lib.paster_commands.upgrade_db:UpgradeDb',
187
188 'setup-rhodecode=rhodecode.lib.paster_commands.deprecated.setup_rhodecode:Command',
189 'celeryd=rhodecode.lib.paster_commands.deprecated.celeryd:Command',
190 ],
191 184 'pyramid.pshell_runner': [
192 185 'ipython = rhodecode.lib.pyramid_shell:ipython_shell_runner',
193 186 ],
194 187 'console_scripts': [
195 188 'rc-setup-app=rhodecode.lib.rc_commands.setup_rc:main',
196 189 'rc-upgrade-db=rhodecode.lib.rc_commands.upgrade_db:main',
197 190 'rc-ishell=rhodecode.lib.rc_commands.ishell:main',
198 191 'rc-add-artifact=rhodecode.lib.rc_commands.add_artifact:main',
199 192 'rc-ssh-wrapper=rhodecode.apps.ssh_support.lib.ssh_wrapper_v1:main',
200 193 'rc-ssh-wrapper-v2=rhodecode.apps.ssh_support.lib.ssh_wrapper_v2:main',
201 194 ],
202 195 'beaker.backends': [
203 196 'memorylru_base=rhodecode.lib.memory_lru_dict:MemoryLRUNamespaceManagerBase',
204 197 'memorylru_debug=rhodecode.lib.memory_lru_dict:MemoryLRUNamespaceManagerDebug'
205 198 ]
206 199 },
207 200 )
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
1 NO CONTENT: file was removed
General Comments 0
You need to be logged in to leave comments. Login now