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-02-28 19:22:45 +00:00
|
|
|
|
2010-10-30 11:24:23 +00:00
|
|
|
dependencies = ['pycrypto', 'msgpack-python', 'pbkdf2.py'],
|
|
|
|
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',
|
|
|
|
author=u'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'],
|
|
|
|
ext_modules=[Extension('darc._speedups', ['darc/_speedups.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
|
|
|
|