setup.py 2.56 KB
Newer Older
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
1
2
3
4
5
6
7
#!/usr/bin/env python

from setuptools import setup, find_packages

# Define package version
version = open("version.txt").read().rstrip()

8
9
requires = [
    'setuptools',
10
    'click>=7',
11
    'click-plugins',
12
13
14
    'conda>=4,<5',
    'conda-build>=3,<4',
    'conda-verify>=3,<4',
15
    'certifi',
16
    'requests',
17
18
    'gitpython',
    'python-gitlab',
19
    'sphinx',
André Anjos's avatar
André Anjos committed
20
    'pyyaml',
21
    'twine',
André Anjos's avatar
André Anjos committed
22
    'lxml',
23
    'jinja2',
24
25
    ]

Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
26
setup(
27
    name="bob.devtools",
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
28
    version=version,
29
    description="Tools for development and CI integration of Bob/BEAT packages",
30
    url='http://gitlab.idiap.ch/bob/bob.devtools',
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
31
    license="BSD",
32
33
    author='Bob/BEAT Developers',
    author_email='bob-devel@googlegroups.com,beat-devel@googlegroups.com',
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
34
35
36
37
38
39
40
    long_description=open('README.rst').read(),

    packages=find_packages(),
    include_package_data=True,
    zip_safe=False,

    # when updating these dependencies, update the README too
41
    install_requires=requires,
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
42
43
44

    entry_points={
        'console_scripts': [
45
            'bdt = bob.devtools.scripts.bdt:main',
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
46
        ],
47
        'bdt.cli': [
André Anjos's avatar
André Anjos committed
48
          'release = bob.devtools.scripts.release:release',
49
          'new = bob.devtools.scripts.new:new',
50
          'commitfile = bob.devtools.scripts.commitfile:commitfile',
André Anjos's avatar
André Anjos committed
51
52
53
54
          'changelog = bob.devtools.scripts.changelog:changelog',
          'lasttag = bob.devtools.scripts.lasttag:lasttag',
          'visibility = bob.devtools.scripts.visibility:visibility',
          'dumpsphinx = bob.devtools.scripts.dumpsphinx:dumpsphinx',
André Anjos's avatar
DRY    
André Anjos committed
55
          'create = bob.devtools.scripts.create:create',
André Anjos's avatar
André Anjos committed
56
57
58
59
60
61
62
          'build = bob.devtools.scripts.build:build',
          'getpath = bob.devtools.scripts.getpath:getpath',
          'caupdate = bob.devtools.scripts.caupdate:caupdate',
          'ci = bob.devtools.scripts.ci:ci',
          ],

        'bdt.ci.cli': [
63
          'base-build = bob.devtools.scripts.ci:base_build',
64
          'build = bob.devtools.scripts.ci:build',
65
          'clean = bob.devtools.scripts.ci:clean',
66
          'base-deploy = bob.devtools.scripts.ci:base_deploy',
André Anjos's avatar
André Anjos committed
67
          'deploy = bob.devtools.scripts.ci:deploy',
68
          'readme = bob.devtools.scripts.ci:readme',
69
          'pypi = bob.devtools.scripts.ci:pypi',
André Anjos's avatar
André Anjos committed
70
          ],
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
71
72
73
    },
    classifiers=[
        'Framework :: Bob',
74
        'Development Status :: 4 - Beta',
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
75
76
77
78
79
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Natural Language :: English',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
80
        'Topic :: Software Development :: Build Tools',
Amir MOHAMMADI's avatar
Amir MOHAMMADI committed
81
82
    ],
)