aboutsummaryrefslogtreecommitdiff
path: root/setup.py
blob: c5a38f409d21f3779e17a54078957fc4ecc34e5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env python3
#******************************************************************************
# Copyright (C) 2018 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
# This file is part of the textoutpc Python 3.x module, which is MIT-licensed.
#******************************************************************************
""" Setup script for the textoutpc Python package and script. """

from setuptools import setup as _setup

kwargs = {}

try:
	from sphinx.setup_command import BuildDoc as _BuildDoc
	kwargs['cmdclass'] = {'build_sphinx': _BuildDoc}
except:
	pass

# Actually, most of the project's data is read from the `setup.cfg` file.

_setup(**kwargs)

# End of file.