1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 17:27:31 +00:00
borg/setup.py
2010-12-16 20:23:22 +01:00

27 lines
789 B
Python

# -*- encoding: utf-8 *-*
#!/usr/bin/env python
import sys
from setuptools import setup, Extension
from Cython.Distutils import build_ext
dependencies = ['pycrypto', 'msgpack-python', 'pbkdf2.py', 'xattr', 'paramiko']
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'],
cmdclass = {'build_ext': build_ext},
ext_modules=[
Extension('darc._speedups', ['darc/_speedups.c']),
Extension('darc.hashindex', ['darc/hashindex.pyx', 'darc/_hashindex.c'])],
install_requires=dependencies,
entry_points = {
'console_scripts': [
'darc = darc.archiver:main',
]
})