borg/setup.py

28 lines
807 B
Python
Raw Normal View History

2010-02-28 19:22:45 +00:00
# -*- encoding: utf-8 *-*
#!/usr/bin/env python
2010-10-30 11:24:23 +00:00
import sys
2010-10-15 18:46:17 +00:00
from setuptools import setup, Extension
2010-12-16 19:23:22 +00:00
from Cython.Distutils import build_ext
2010-02-28 19:22:45 +00:00
2011-06-23 20:49:16 +00:00
dependencies = ['pycrypto', 'msgpack-python', 'pbkdf2.py', 'xattr', 'paramiko', 'Pyrex', 'Cython']
2010-10-30 11:24:23 +00:00
if sys.version_info < (2, 7):
dependencies.append('argparse')
2010-10-27 18:12:40 +00:00
setup(name='darc',
2010-10-15 18:46:17 +00:00
version='0.1',
2011-06-23 20:49:16 +00:00
author='Jonas Borgström',
2010-02-28 19:22:45 +00:00
author_email='jonas@borgstrom.se',
2010-10-27 18:12:40 +00:00
packages=['darc'],
2010-12-16 19:23:22 +00: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 11:24:23 +00:00
install_requires=dependencies,
2010-10-15 18:46:17 +00:00
entry_points = {
'console_scripts': [
2010-10-27 18:12:40 +00:00
'darc = darc.archiver:main',
2010-10-15 18:46:17 +00:00
]
})
2010-04-18 20:08:12 +00:00