mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 00:07:38 +00:00
Minor setup.py fix
This commit is contained in:
parent
bf4b13d9dc
commit
cda6d4ed6c
1 changed files with 2 additions and 4 deletions
6
setup.py
6
setup.py
|
@ -10,12 +10,10 @@
|
|||
print("Darc requires Python %d.%d or later" % min_python)
|
||||
sys.exit(1)
|
||||
|
||||
#from distutils.core import setup
|
||||
#from distutils.extension import Extension
|
||||
try:
|
||||
from setuptools import setup, Extension
|
||||
except ImportError:
|
||||
from distutils.core import setup
|
||||
from distutils.core import setup, Extension
|
||||
from distutils.command.sdist import sdist
|
||||
|
||||
chunker_source = 'darc/chunker.pyx'
|
||||
|
@ -48,7 +46,7 @@ def __init__(self, *args, **kwargs):
|
|||
raise ImportError('The GIT version of darc needs Cython. Install Cython or use a released version')
|
||||
|
||||
setup(
|
||||
name='Darc',
|
||||
name='darc',
|
||||
version=darc.__release__,
|
||||
author='Jonas Borgström',
|
||||
author_email='jonas@borgstrom.se',
|
||||
|
|
Loading…
Reference in a new issue