##// END OF EJS Templates
install: fixed setup.py for new version
super-admin -
r4907:6f3e1915 default
parent child Browse files
Show More
@@ -65,8 +65,8 b' def get_package_name(req_object):'
65 65 return package_name
66 66
67 67
68 if sys.version_info < (2, 7):
69 raise Exception('RhodeCode requires Python 2.7 or later')
68 if sys.version_info < (3, 10):
69 raise Exception('RhodeCode requires Python 3.10 or later')
70 70
71 71 here = os.path.abspath(os.path.dirname(__file__))
72 72
@@ -107,7 +107,7 b' test_requirements = _get_requirements('
107 107
108 108 def get_version():
109 109 version = pkgutil.get_data('rhodecode', 'VERSION')
110 return version.strip()
110 return version.decode().strip()
111 111
112 112
113 113 # additional files that goes into package itself
@@ -163,7 +163,7 b' setup('
163 163 'Operating System :: OS Independent',
164 164 'Topic :: Software Development :: Version Control',
165 165 'License :: OSI Approved :: Affero GNU General Public License v3 or later (AGPLv3+)',
166 'Programming Language :: Python :: 2.7',
166 'Programming Language :: Python :: 3.10',
167 167 ],
168 168 message_extractors={
169 169 'rhodecode': [
General Comments 0
You need to be logged in to leave comments. Login now