setup.py 1.38 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
# zodbtools | pythonic package setup
from setuptools import setup, find_packages

# read file content
def readfile(path):
    with open(path, 'r') as f:
        return f.read()

setup(
    name        = 'zodbtools',
Jérome Perrin's avatar
Jérome Perrin committed
11
    version     = '0.0.0.dev8',
12
    description = 'ZODB-related utilities',
Kirill Smelkov's avatar
Kirill Smelkov committed
13 14
    long_description = '%s\n----\n\n%s' % (
                            readfile('README.rst'), readfile('CHANGELOG.rst')),
15
    url         = 'https://lab.nexedi.com/nexedi/zodbtools',
Kirill Smelkov's avatar
Kirill Smelkov committed
16 17
    license     = 'GPLv3+ with wide exception for Open-Source; ZPL 2.1',
    author      = 'Nexedi + Zope Foundation + Community',
18 19 20 21 22
    author_email= 'kirr@nexedi.com',

    keywords    = 'zodb utility tool',

    packages    = find_packages(),
23
    install_requires = ['ZODB', 'zodburi', 'zope.interface', 'pygolang >= 0.0.0.dev6', 'six', 'dateparser'],
24

25
    extras_require = {
26
                  'test': ['pytest', 'freezegun', 'pytz', 'mock;python_version<="2.7"'],
27 28
    },

29
    entry_points= {'console_scripts': ['zodb = zodbtools.zodb:main']},
30

31
    # FIXME restore py3 support
32 33 34 35 36 37 38 39 40 41 42
    classifiers = [_.strip() for _ in """\
        Development Status :: 3 - Alpha
        Intended Audience :: Developers
        Operating System :: POSIX :: Linux
        Programming Language :: Python :: 2
        Programming Language :: Python :: 2.7
        Topic :: Database
        Topic :: Utilities
        Framework :: ZODB\
    """.splitlines()]
)