1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 08:16:54 +00:00

Minor setup.py fix

This commit is contained in:
Jonas Borgström 2013-06-27 22:48:49 +02:00
parent bf4b13d9dc
commit cda6d4ed6c

View file

@ -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',