install: fixed setup.py for new version
This commit is contained in:
parent
8f6692847b
commit
afbf679a60
1 changed files with 4 additions and 4 deletions
8
setup.py
8
setup.py
|
|
@ -65,8 +65,8 @@ def get_package_name(req_object):
|
|||
return package_name
|
||||
|
||||
|
||||
if sys.version_info < (2, 7):
|
||||
raise Exception('RhodeCode requires Python 2.7 or later')
|
||||
if sys.version_info < (3, 10):
|
||||
raise Exception('RhodeCode requires Python 3.10 or later')
|
||||
|
||||
here = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
|
|
@ -107,7 +107,7 @@ test_requirements = _get_requirements(
|
|||
|
||||
def get_version():
|
||||
version = pkgutil.get_data('rhodecode', 'VERSION')
|
||||
return version.strip()
|
||||
return version.decode().strip()
|
||||
|
||||
|
||||
# additional files that goes into package itself
|
||||
|
|
@ -163,7 +163,7 @@ setup(
|
|||
'Operating System :: OS Independent',
|
||||
'Topic :: Software Development :: Version Control',
|
||||
'License :: OSI Approved :: Affero GNU General Public License v3 or later (AGPLv3+)',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Programming Language :: Python :: 3.10',
|
||||
],
|
||||
message_extractors={
|
||||
'rhodecode': [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue