summaryrefslogtreecommitdiff
path: root/setup.py
blob: 752bb49d466c34af00f424c3a479c561e3ac4222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# Adapted from Kenneth Reitz' setup.py for humans (MIT license)
# https://github.com/kennethreitz/setup.py

import os

from setuptools import setup

here = os.path.abspath(os.path.dirname(__file__))

# Load the package's __version__.py module as a dictionary.
about = {}
with open(os.path.join(here, 'bztogl', '__version__.py')) as f:
    exec(f.read(), about)

setup(
    name='bztogl',
    version=about['__version__'],
    description='Bugzilla to GitLab migration tool',
    author='GNOME',
    url='https://gitlab.gnome.org/External/bugzilla-to-gitlab-migrator',

    packages=['bztogl'],
    entry_points={
        'console_scripts': ['bztogl=bztogl.bztogl:main',
                            'phabtogl=bztogl.phabtogl:main'],
    },

    install_requires=['python-bugzilla', 'python-gitlab', 'phabricator'],
    setup_requires=['pytest-runner'],
    tests_require=['pytest'],

    license='GPLv3',
    classifiers=[
        # Trove classifiers
        # Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
        'License :: OSI Approved :: GNU General Public License v3 or later '
            '(GPLv3+)',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3 :: Only',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: Implementation :: CPython',
        'Programming Language :: Python :: Implementation :: PyPy'
    ],
)