2010-02-28 19:22:45 +00:00
|
|
|
# -*- encoding: utf-8 *-*
|
2011-08-20 16:11:23 +00:00
|
|
|
import os
|
2017-02-05 10:32:32 +00:00
|
|
|
import io
|
2015-10-08 01:07:12 +00:00
|
|
|
import re
|
2010-10-30 11:24:23 +00:00
|
|
|
import sys
|
2017-02-05 10:32:32 +00:00
|
|
|
from collections import OrderedDict
|
|
|
|
from datetime import datetime
|
2011-08-20 16:11:23 +00:00
|
|
|
from glob import glob
|
2011-11-06 20:40:29 +00:00
|
|
|
|
2018-04-28 16:06:10 +00:00
|
|
|
try:
|
|
|
|
import multiprocessing
|
|
|
|
except ImportError:
|
|
|
|
multiprocessing = None
|
|
|
|
|
|
|
|
from distutils.command.clean import clean
|
|
|
|
from setuptools.command.build_ext import build_ext
|
|
|
|
from setuptools import setup, find_packages, Extension
|
|
|
|
from setuptools.command.sdist import sdist
|
|
|
|
|
|
|
|
try:
|
|
|
|
from Cython.Build import cythonize
|
|
|
|
except ImportError:
|
|
|
|
cythonize = None
|
2015-10-07 23:55:56 +00:00
|
|
|
|
2017-12-15 05:35:20 +00:00
|
|
|
import setup_lz4
|
2017-12-05 03:16:25 +00:00
|
|
|
import setup_zstd
|
2017-12-17 02:06:12 +00:00
|
|
|
import setup_b2
|
2018-06-12 19:06:01 +00:00
|
|
|
import setup_docs
|
2017-12-05 03:16:25 +00:00
|
|
|
|
2017-12-15 06:08:06 +00:00
|
|
|
# True: use the shared liblz4 (>= 1.7.0 / r129) from the system, False: use the bundled lz4 code
|
2018-06-03 10:51:11 +00:00
|
|
|
prefer_system_liblz4 = True
|
2017-12-15 05:35:20 +00:00
|
|
|
|
2017-12-05 03:16:25 +00:00
|
|
|
# True: use the shared libzstd (>= 1.3.0) from the system, False: use the bundled zstd code
|
2018-06-03 10:51:11 +00:00
|
|
|
prefer_system_libzstd = True
|
2017-12-05 03:16:25 +00:00
|
|
|
|
2017-12-17 02:06:12 +00:00
|
|
|
# True: use the shared libb2 from the system, False: use the bundled blake2 code
|
|
|
|
prefer_system_libb2 = True
|
|
|
|
|
2018-04-28 16:06:10 +00:00
|
|
|
cpu_threads = multiprocessing.cpu_count() if multiprocessing else 1
|
|
|
|
|
2015-10-07 23:16:49 +00:00
|
|
|
# Are we building on ReadTheDocs?
|
2015-10-08 12:23:37 +00:00
|
|
|
on_rtd = os.environ.get('READTHEDOCS')
|
2015-10-07 23:16:49 +00:00
|
|
|
|
2017-07-29 09:55:26 +00:00
|
|
|
install_requires = [
|
2018-04-12 21:35:38 +00:00
|
|
|
# we are rather picky about msgpack versions, because a good working msgpack is
|
|
|
|
# very important for borg, see https://github.com/borgbackup/borg/issues/3753
|
2018-12-11 00:54:42 +00:00
|
|
|
# as of now, 0.5.6 and 0.6.0 are the only preferred versions of msgpack:
|
|
|
|
'msgpack >=0.5.6, !=0.5.7, !=0.5.8, !=0.5.9, <=0.6.0',
|
2018-04-12 21:35:38 +00:00
|
|
|
# if you can't satisfy the above requirement, these are versions that might
|
|
|
|
# also work ok, IF you make sure to use the COMPILED version of msgpack-python,
|
|
|
|
# NOT the PURE PYTHON fallback implementation: ==0.5.1, ==0.5.4
|
|
|
|
# using any other version is not supported by borg development, feel free to
|
|
|
|
# do it on your own risk (and after own testing).
|
2017-07-29 09:55:26 +00:00
|
|
|
]
|
2015-09-12 20:44:23 +00:00
|
|
|
|
2016-10-18 22:56:22 +00:00
|
|
|
# note for package maintainers: if you package borgbackup for distribution,
|
|
|
|
# please add llfuse as a *requirement* on all platforms that have a working
|
|
|
|
# llfuse package. "borg mount" needs llfuse to work.
|
|
|
|
# if you do not have llfuse, do not require it, most of borgbackup will work.
|
2016-02-07 18:03:32 +00:00
|
|
|
extras_require = {
|
2018-06-12 18:49:23 +00:00
|
|
|
# llfuse 1.x should work, llfuse 2.0 will break API
|
2018-06-12 02:29:16 +00:00
|
|
|
'fuse': [
|
2018-06-12 18:49:23 +00:00
|
|
|
'llfuse >=1.1, <2.0',
|
2018-06-12 02:29:16 +00:00
|
|
|
'llfuse >=1.3.4; python_version >="3.7"',
|
|
|
|
],
|
2016-02-07 18:03:32 +00:00
|
|
|
}
|
2015-07-12 13:07:24 +00:00
|
|
|
|
2016-05-05 18:59:53 +00:00
|
|
|
compress_source = 'src/borg/compress.pyx'
|
2017-05-02 17:05:27 +00:00
|
|
|
crypto_ll_source = 'src/borg/crypto/low_level.pyx'
|
2016-07-14 20:35:50 +00:00
|
|
|
crypto_helpers = 'src/borg/crypto/_crypto_helpers.c'
|
2017-05-02 16:52:36 +00:00
|
|
|
chunker_source = 'src/borg/chunker.pyx'
|
2016-05-05 18:59:53 +00:00
|
|
|
hashindex_source = 'src/borg/hashindex.pyx'
|
2016-11-30 11:43:28 +00:00
|
|
|
item_source = 'src/borg/item.pyx'
|
2017-05-31 21:17:27 +00:00
|
|
|
checksums_source = 'src/borg/algorithms/checksums.pyx'
|
2016-05-31 00:35:54 +00:00
|
|
|
platform_posix_source = 'src/borg/platform/posix.pyx'
|
|
|
|
platform_linux_source = 'src/borg/platform/linux.pyx'
|
|
|
|
platform_darwin_source = 'src/borg/platform/darwin.pyx'
|
|
|
|
platform_freebsd_source = 'src/borg/platform/freebsd.pyx'
|
|
|
|
|
|
|
|
cython_sources = [
|
|
|
|
compress_source,
|
2017-05-02 17:05:27 +00:00
|
|
|
crypto_ll_source,
|
2016-05-31 00:35:54 +00:00
|
|
|
chunker_source,
|
|
|
|
hashindex_source,
|
2016-11-30 11:43:28 +00:00
|
|
|
item_source,
|
2017-05-31 21:17:27 +00:00
|
|
|
checksums_source,
|
2016-05-31 00:35:54 +00:00
|
|
|
|
|
|
|
platform_posix_source,
|
|
|
|
platform_linux_source,
|
|
|
|
platform_freebsd_source,
|
|
|
|
platform_darwin_source,
|
|
|
|
]
|
2013-06-18 19:34:22 +00:00
|
|
|
|
2018-04-28 16:06:10 +00:00
|
|
|
if cythonize:
|
|
|
|
Sdist = sdist
|
|
|
|
else:
|
2015-08-22 12:58:06 +00:00
|
|
|
class Sdist(sdist):
|
2013-06-24 11:53:02 +00:00
|
|
|
def __init__(self, *args, **kwargs):
|
|
|
|
raise Exception('Cython is required to run sdist')
|
|
|
|
|
2015-10-08 12:22:52 +00:00
|
|
|
if not on_rtd and not all(os.path.exists(path) for path in [
|
2017-05-31 21:17:27 +00:00
|
|
|
compress_source, crypto_ll_source, chunker_source, hashindex_source, item_source, checksums_source,
|
2016-05-20 20:48:57 +00:00
|
|
|
platform_posix_source, platform_linux_source, platform_freebsd_source, platform_darwin_source]):
|
2015-09-19 19:44:40 +00:00
|
|
|
raise ImportError('The GIT version of Borg needs Cython. Install Cython or use a released version.')
|
2014-03-10 21:50:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
def detect_openssl(prefixes):
|
|
|
|
for prefix in prefixes:
|
|
|
|
filename = os.path.join(prefix, 'include', 'openssl', 'evp.h')
|
|
|
|
if os.path.exists(filename):
|
2018-01-27 18:49:42 +00:00
|
|
|
with open(filename, 'rb') as fd:
|
|
|
|
if b'PKCS5_PBKDF2_HMAC(' in fd.read():
|
2014-03-10 21:50:38 +00:00
|
|
|
return prefix
|
|
|
|
|
|
|
|
|
2015-09-12 17:38:38 +00:00
|
|
|
include_dirs = []
|
|
|
|
library_dirs = []
|
2016-11-10 21:14:09 +00:00
|
|
|
define_macros = []
|
2015-09-12 17:38:38 +00:00
|
|
|
|
2016-05-06 12:55:27 +00:00
|
|
|
possible_openssl_prefixes = ['/usr', '/usr/local', '/usr/local/opt/openssl', '/usr/local/ssl', '/usr/local/openssl',
|
|
|
|
'/usr/local/borg', '/opt/local', '/opt/pkg', ]
|
2015-05-09 16:40:55 +00:00
|
|
|
if os.environ.get('BORG_OPENSSL_PREFIX'):
|
|
|
|
possible_openssl_prefixes.insert(0, os.environ.get('BORG_OPENSSL_PREFIX'))
|
2014-03-10 21:50:38 +00:00
|
|
|
ssl_prefix = detect_openssl(possible_openssl_prefixes)
|
|
|
|
if not ssl_prefix:
|
|
|
|
raise Exception('Unable to find OpenSSL >= 1.0 headers. (Looked here: {})'.format(', '.join(possible_openssl_prefixes)))
|
2015-09-12 17:38:38 +00:00
|
|
|
include_dirs.append(os.path.join(ssl_prefix, 'include'))
|
|
|
|
library_dirs.append(os.path.join(ssl_prefix, 'lib'))
|
|
|
|
|
|
|
|
|
2017-12-15 05:35:20 +00:00
|
|
|
possible_liblz4_prefixes = ['/usr', '/usr/local', '/usr/local/opt/lz4', '/usr/local/lz4',
|
2016-05-06 12:55:27 +00:00
|
|
|
'/usr/local/borg', '/opt/local', '/opt/pkg', ]
|
2017-12-15 05:43:56 +00:00
|
|
|
if os.environ.get('BORG_LIBLZ4_PREFIX'):
|
|
|
|
possible_liblz4_prefixes.insert(0, os.environ.get('BORG_LIBLZ4_PREFIX'))
|
2017-12-15 05:35:20 +00:00
|
|
|
liblz4_prefix = setup_lz4.lz4_system_prefix(possible_liblz4_prefixes)
|
|
|
|
if prefer_system_liblz4 and liblz4_prefix:
|
|
|
|
print('Detected and preferring liblz4 over bundled LZ4')
|
|
|
|
define_macros.append(('BORG_USE_LIBLZ4', 'YES'))
|
|
|
|
liblz4_system = True
|
|
|
|
else:
|
|
|
|
liblz4_system = False
|
2014-03-10 21:50:38 +00:00
|
|
|
|
2016-11-10 21:14:09 +00:00
|
|
|
possible_libb2_prefixes = ['/usr', '/usr/local', '/usr/local/opt/libb2', '/usr/local/libb2',
|
|
|
|
'/usr/local/borg', '/opt/local', '/opt/pkg', ]
|
|
|
|
if os.environ.get('BORG_LIBB2_PREFIX'):
|
|
|
|
possible_libb2_prefixes.insert(0, os.environ.get('BORG_LIBB2_PREFIX'))
|
2017-12-17 02:06:12 +00:00
|
|
|
libb2_prefix = setup_b2.b2_system_prefix(possible_libb2_prefixes)
|
|
|
|
if prefer_system_libb2 and libb2_prefix:
|
2016-11-10 21:14:09 +00:00
|
|
|
print('Detected and preferring libb2 over bundled BLAKE2')
|
|
|
|
define_macros.append(('BORG_USE_LIBB2', 'YES'))
|
2017-12-17 02:06:12 +00:00
|
|
|
libb2_system = True
|
|
|
|
else:
|
|
|
|
libb2_system = False
|
2016-11-10 21:14:09 +00:00
|
|
|
|
2017-12-03 04:38:23 +00:00
|
|
|
possible_libzstd_prefixes = ['/usr', '/usr/local', '/usr/local/opt/libzstd', '/usr/local/libzstd',
|
|
|
|
'/usr/local/borg', '/opt/local', '/opt/pkg', ]
|
|
|
|
if os.environ.get('BORG_LIBZSTD_PREFIX'):
|
|
|
|
possible_libzstd_prefixes.insert(0, os.environ.get('BORG_LIBZSTD_PREFIX'))
|
2017-12-05 03:16:25 +00:00
|
|
|
libzstd_prefix = setup_zstd.zstd_system_prefix(possible_libzstd_prefixes)
|
|
|
|
if prefer_system_libzstd and libzstd_prefix:
|
2017-12-03 04:38:23 +00:00
|
|
|
print('Detected and preferring libzstd over bundled ZSTD')
|
|
|
|
define_macros.append(('BORG_USE_LIBZSTD', 'YES'))
|
2017-12-05 03:16:25 +00:00
|
|
|
libzstd_system = True
|
|
|
|
else:
|
|
|
|
libzstd_system = False
|
2017-12-03 04:38:23 +00:00
|
|
|
|
2011-08-20 16:11:23 +00:00
|
|
|
|
2013-07-05 10:32:56 +00:00
|
|
|
with open('README.rst', 'r') as fd:
|
|
|
|
long_description = fd.read()
|
2018-05-22 20:58:59 +00:00
|
|
|
# remove header, but have one \n before first headline
|
|
|
|
start = long_description.find('What is BorgBackup?')
|
|
|
|
assert start >= 0
|
|
|
|
long_description = '\n' + long_description[start:]
|
2016-11-23 01:01:26 +00:00
|
|
|
# remove badges
|
|
|
|
long_description = re.compile(r'^\.\. start-badges.*^\.\. end-badges', re.M | re.S).sub('', long_description)
|
|
|
|
# remove unknown directives
|
|
|
|
long_description = re.compile(r'^\.\. highlight:: \w+$', re.M).sub('', long_description)
|
2015-10-08 01:07:12 +00:00
|
|
|
|
2016-01-30 20:32:45 +00:00
|
|
|
|
2017-05-31 21:17:27 +00:00
|
|
|
def rm(file):
|
|
|
|
try:
|
|
|
|
os.unlink(file)
|
|
|
|
print('rm', file)
|
|
|
|
except FileNotFoundError:
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
2017-05-25 15:55:42 +00:00
|
|
|
class Clean(clean):
|
|
|
|
def run(self):
|
|
|
|
super().run()
|
|
|
|
for source in cython_sources:
|
|
|
|
genc = source.replace('.pyx', '.c')
|
2017-05-31 21:17:27 +00:00
|
|
|
rm(genc)
|
2017-05-25 15:55:42 +00:00
|
|
|
compiled_glob = source.replace('.pyx', '.cpython*')
|
2017-05-31 21:17:27 +00:00
|
|
|
for compiled in sorted(glob(compiled_glob)):
|
|
|
|
rm(compiled)
|
2017-05-25 15:55:42 +00:00
|
|
|
|
2018-06-12 19:06:01 +00:00
|
|
|
|
2015-10-07 23:55:56 +00:00
|
|
|
cmdclass = {
|
|
|
|
'build_ext': build_ext,
|
2018-06-12 19:06:01 +00:00
|
|
|
'build_usage': setup_docs.build_usage,
|
|
|
|
'build_man': setup_docs.build_man,
|
2017-05-25 15:55:42 +00:00
|
|
|
'sdist': Sdist,
|
|
|
|
'clean': Clean,
|
2015-10-07 23:55:56 +00:00
|
|
|
}
|
2013-08-05 20:45:24 +00:00
|
|
|
|
2015-10-07 23:16:49 +00:00
|
|
|
ext_modules = []
|
|
|
|
if not on_rtd:
|
2017-12-05 03:16:25 +00:00
|
|
|
compress_ext_kwargs = dict(sources=[compress_source], include_dirs=include_dirs, library_dirs=library_dirs,
|
2017-12-15 05:35:20 +00:00
|
|
|
define_macros=define_macros)
|
|
|
|
compress_ext_kwargs = setup_lz4.lz4_ext_kwargs(bundled_path='src/borg/algorithms/lz4',
|
|
|
|
system_prefix=liblz4_prefix, system=liblz4_system,
|
|
|
|
**compress_ext_kwargs)
|
2017-12-05 03:16:25 +00:00
|
|
|
compress_ext_kwargs = setup_zstd.zstd_ext_kwargs(bundled_path='src/borg/algorithms/zstd',
|
|
|
|
system_prefix=libzstd_prefix, system=libzstd_system,
|
|
|
|
multithreaded=False, legacy=False, **compress_ext_kwargs)
|
2017-12-17 02:06:12 +00:00
|
|
|
crypto_ext_kwargs = dict(sources=[crypto_ll_source, crypto_helpers], libraries=['crypto'],
|
|
|
|
include_dirs=include_dirs, library_dirs=library_dirs, define_macros=define_macros)
|
|
|
|
crypto_ext_kwargs = setup_b2.b2_ext_kwargs(bundled_path='src/borg/algorithms/blake2',
|
|
|
|
system_prefix=libb2_prefix, system=libb2_system,
|
|
|
|
**crypto_ext_kwargs)
|
2015-10-07 23:16:49 +00:00
|
|
|
ext_modules += [
|
2017-12-05 03:16:25 +00:00
|
|
|
Extension('borg.compress', **compress_ext_kwargs),
|
2017-12-17 02:06:12 +00:00
|
|
|
Extension('borg.crypto.low_level', **crypto_ext_kwargs),
|
2017-12-05 03:16:25 +00:00
|
|
|
Extension('borg.hashindex', [hashindex_source]),
|
|
|
|
Extension('borg.item', [item_source]),
|
|
|
|
Extension('borg.chunker', [chunker_source]),
|
|
|
|
Extension('borg.algorithms.checksums', [checksums_source]),
|
|
|
|
]
|
2018-04-28 16:06:10 +00:00
|
|
|
|
|
|
|
posix_ext = Extension('borg.platform.posix', [platform_posix_source])
|
|
|
|
linux_ext = Extension('borg.platform.linux', [platform_linux_source], libraries=['acl'])
|
|
|
|
freebsd_ext = Extension('borg.platform.freebsd', [platform_freebsd_source])
|
|
|
|
darwin_ext = Extension('borg.platform.darwin', [platform_darwin_source])
|
|
|
|
|
2017-01-14 13:48:49 +00:00
|
|
|
if not sys.platform.startswith(('win32', )):
|
2018-04-28 16:06:10 +00:00
|
|
|
ext_modules.append(posix_ext)
|
2015-12-15 00:08:35 +00:00
|
|
|
if sys.platform == 'linux':
|
2018-04-28 16:06:10 +00:00
|
|
|
ext_modules.append(linux_ext)
|
2015-10-07 23:16:49 +00:00
|
|
|
elif sys.platform.startswith('freebsd'):
|
2018-04-28 16:06:10 +00:00
|
|
|
ext_modules.append(freebsd_ext)
|
2015-10-07 23:16:49 +00:00
|
|
|
elif sys.platform == 'darwin':
|
2018-04-28 16:06:10 +00:00
|
|
|
ext_modules.append(darwin_ext)
|
|
|
|
|
|
|
|
# sometimes there's no need to cythonize
|
|
|
|
# this breaks chained commands like 'clean sdist'
|
|
|
|
cythonizing = len(sys.argv) > 1 and sys.argv[1] not in ('clean', 'egg_info', '--help-commands', '--version') \
|
|
|
|
and '--help' not in sys.argv[1:]
|
|
|
|
|
|
|
|
if cythonize and cythonizing:
|
2018-12-15 17:12:10 +00:00
|
|
|
cython_opts = dict(
|
|
|
|
# compile .pyx extensions to .c in parallel
|
|
|
|
nthreads=cpu_threads + 1,
|
|
|
|
# default language_level will be '3str' starting from Cython 3.0.0,
|
|
|
|
# but old cython versions (< 0.29) do not know that, thus we use 3 for now.
|
|
|
|
compiler_directives={'language_level': 3},
|
|
|
|
)
|
|
|
|
cythonize([posix_ext, linux_ext, freebsd_ext, darwin_ext], **cython_opts)
|
|
|
|
ext_modules = cythonize(ext_modules, **cython_opts)
|
2014-04-13 18:26:46 +00:00
|
|
|
|
2013-06-24 11:53:02 +00:00
|
|
|
setup(
|
2015-05-09 16:40:55 +00:00
|
|
|
name='borgbackup',
|
2015-08-22 13:54:40 +00:00
|
|
|
use_scm_version={
|
2016-05-05 18:59:53 +00:00
|
|
|
'write_to': 'src/borg/_version.py',
|
2015-08-22 13:54:40 +00:00
|
|
|
},
|
2015-05-09 16:40:55 +00:00
|
|
|
author='The Borg Collective (see AUTHORS file)',
|
2015-12-08 09:12:15 +00:00
|
|
|
author_email='borgbackup@python.org',
|
2016-04-29 01:19:27 +00:00
|
|
|
url='https://borgbackup.readthedocs.io/',
|
2015-05-09 16:40:55 +00:00
|
|
|
description='Deduplicated, encrypted, authenticated and compressed backups',
|
2013-07-05 10:32:56 +00:00
|
|
|
long_description=long_description,
|
2013-06-24 11:53:02 +00:00
|
|
|
license='BSD',
|
2015-09-16 09:44:53 +00:00
|
|
|
platforms=['Linux', 'MacOS X', 'FreeBSD', 'OpenBSD', 'NetBSD', ],
|
2013-06-24 11:53:02 +00:00
|
|
|
classifiers=[
|
2017-07-29 17:33:18 +00:00
|
|
|
'Development Status :: 2 - Pre-Alpha',
|
2013-06-24 11:53:02 +00:00
|
|
|
'Environment :: Console',
|
|
|
|
'Intended Audience :: System Administrators',
|
|
|
|
'License :: OSI Approved :: BSD License',
|
2013-07-28 12:55:48 +00:00
|
|
|
'Operating System :: POSIX :: BSD :: FreeBSD',
|
2015-09-16 09:44:53 +00:00
|
|
|
'Operating System :: POSIX :: BSD :: OpenBSD',
|
|
|
|
'Operating System :: POSIX :: BSD :: NetBSD',
|
2013-06-27 20:10:15 +00:00
|
|
|
'Operating System :: MacOS :: MacOS X',
|
|
|
|
'Operating System :: POSIX :: Linux',
|
2013-06-24 11:53:02 +00:00
|
|
|
'Programming Language :: Python',
|
2015-05-14 10:04:38 +00:00
|
|
|
'Programming Language :: Python :: 3',
|
2018-12-10 23:53:43 +00:00
|
|
|
'Programming Language :: Python :: 3.5',
|
2017-01-04 00:02:25 +00:00
|
|
|
'Programming Language :: Python :: 3.6',
|
2018-08-06 15:48:27 +00:00
|
|
|
'Programming Language :: Python :: 3.7',
|
2013-06-24 11:53:02 +00:00
|
|
|
'Topic :: Security :: Cryptography',
|
|
|
|
'Topic :: System :: Archiving :: Backup',
|
|
|
|
],
|
2016-05-05 18:59:53 +00:00
|
|
|
packages=find_packages('src'),
|
|
|
|
package_dir={'': 'src'},
|
|
|
|
zip_safe=False,
|
2015-07-12 13:00:47 +00:00
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
|
|
|
'borg = borg.archiver:main',
|
2016-03-17 00:40:17 +00:00
|
|
|
'borgfs = borg.archiver:main',
|
2015-07-12 13:00:47 +00:00
|
|
|
]
|
|
|
|
},
|
2017-11-24 04:00:23 +00:00
|
|
|
# See also the MANIFEST.in file.
|
|
|
|
# We want to install all the files in the package directories...
|
2017-06-26 20:23:02 +00:00
|
|
|
include_package_data=True,
|
2017-11-24 04:00:23 +00:00
|
|
|
# ...except the source files which have been compiled (C extensions):
|
|
|
|
exclude_package_data={
|
|
|
|
'': ['*.c', '*.h', '*.pyx', ],
|
2017-02-07 23:22:37 +00:00
|
|
|
},
|
2013-08-05 20:45:24 +00:00
|
|
|
cmdclass=cmdclass,
|
2014-04-13 18:26:46 +00:00
|
|
|
ext_modules=ext_modules,
|
2015-08-22 12:58:06 +00:00
|
|
|
setup_requires=['setuptools_scm>=1.7'],
|
2015-09-12 20:44:23 +00:00
|
|
|
install_requires=install_requires,
|
2016-02-07 18:03:32 +00:00
|
|
|
extras_require=extras_require,
|
2018-12-10 23:53:43 +00:00
|
|
|
python_requires='>=3.5',
|
2013-06-24 11:53:02 +00:00
|
|
|
)
|