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