aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
blob: 6f11ee4d0048546a3b49916a9b70ffe96f0fe4b2 (plain) (blame)
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
    Setup file for git_deps.

    This file was generated with PyScaffold, a tool that easily
    puts up a scaffold for your new Python project. Learn more under:
    http://pyscaffold.readthedocs.org/
"""

import sys
from setuptools import setup


def setup_package():
    needs_sphinx = {'build_sphinx', 'upload_docs'}.intersection(sys.argv)
    sphinx = ['sphinx'] if needs_sphinx else []
    setup(
        setup_requires=[
            'six',
            'pyscaffold>=2.5.10,<2.6a0',
        ] + sphinx,
        long_description='README.md',
        long_description_content_type="text/markdown",
        use_pyscaffold=True
    )


if __name__ == "__main__":
    setup_package()