mirror of https://github.com/borgbackup/borg.git
Added argparse as a dependency
This commit is contained in:
parent
4c178e0010
commit
ae7b0eaf6d
9
setup.py
9
setup.py
|
@ -1,15 +1,20 @@
|
|||
# -*- encoding: utf-8 *-*
|
||||
#!/usr/bin/env python
|
||||
|
||||
import sys
|
||||
from setuptools import setup, Extension
|
||||
|
||||
dependencies = ['pycrypto', 'msgpack-python', 'pbkdf2.py'],
|
||||
if sys.version_info < (2, 7):
|
||||
dependencies.append('argparse')
|
||||
|
||||
|
||||
setup(name='darc',
|
||||
version='0.1',
|
||||
author=u'Jonas Borgström',
|
||||
author_email='jonas@borgstrom.se',
|
||||
packages=['darc'],
|
||||
ext_modules=[Extension('darc._speedups', ['darc/_speedups.c'])],
|
||||
install_requires=['pycrypto', 'msgpack-python', 'pbkdf2.py'],
|
||||
install_requires=dependencies,
|
||||
entry_points = {
|
||||
'console_scripts': [
|
||||
'darc = darc.archiver:main',
|
||||
|
|
Loading…
Reference in New Issue