mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-23 14:41:43 +00:00
Fix Python3.2 compatibility
This commit is contained in:
parent
0ad5253d84
commit
14808b77cb
3 changed files with 3 additions and 2 deletions
|
@ -4,6 +4,7 @@ python:
|
|||
- "3.3"
|
||||
# command to install dependencies
|
||||
install:
|
||||
- "apt-get install -y libacl1-dev"
|
||||
- "pip install --use-mirrors Cython"
|
||||
- "pip install -e ."
|
||||
# command to run tests
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import os
|
||||
|
||||
platform = os.uname().sysname
|
||||
platform = os.uname()[0]
|
||||
|
||||
if platform == 'Linux':
|
||||
from attic.platform_linux import acl_get, acl_set, API_VERSION
|
||||
|
|
2
setup.py
2
setup.py
|
@ -9,7 +9,7 @@
|
|||
versioneer.tag_prefix = ''
|
||||
versioneer.parentdir_prefix = 'Attic-' # dirname like 'myproject-1.2.0'
|
||||
|
||||
platform = os.uname().sysname
|
||||
platform = os.uname()[0]
|
||||
|
||||
min_python = (3, 2)
|
||||
if sys.version_info < min_python:
|
||||
|
|
Loading…
Reference in a new issue