borgbackup/setup.py

28 lines
789 B
Python
Raw Normal View History

2010-02-28 14:22:45 -05:00
# -*- encoding: utf-8 *-*
#!/usr/bin/env python
2010-10-30 07:24:23 -04:00
import sys
2010-10-15 14:46:17 -04:00
from setuptools import setup, Extension
2010-12-16 14:23:22 -05:00
from Cython.Distutils import build_ext
2010-02-28 14:22:45 -05:00
2010-12-16 14:23:22 -05:00
dependencies = ['pycrypto', 'msgpack-python', 'pbkdf2.py', 'xattr', 'paramiko']
2010-10-30 07:24:23 -04:00
if sys.version_info < (2, 7):
dependencies.append('argparse')
2010-10-27 14:12:40 -04:00
setup(name='darc',
2010-10-15 14:46:17 -04:00
version='0.1',
author=u'Jonas Borgström',
2010-02-28 14:22:45 -05:00
author_email='jonas@borgstrom.se',
2010-10-27 14:12:40 -04:00
packages=['darc'],
2010-12-16 14:23:22 -05:00
cmdclass = {'build_ext': build_ext},
ext_modules=[
Extension('darc._speedups', ['darc/_speedups.c']),
Extension('darc.hashindex', ['darc/hashindex.pyx', 'darc/_hashindex.c'])],
2010-10-30 07:24:23 -04:00
install_requires=dependencies,
2010-10-15 14:46:17 -04:00
entry_points = {
'console_scripts': [
2010-10-27 14:12:40 -04:00
'darc = darc.archiver:main',
2010-10-15 14:46:17 -04:00
]
})
2010-04-18 16:08:12 -04:00