aboutsummaryrefslogtreecommitdiff
path: root/setup.py
blob: af034b814e0e74c3c4bb9187a8313c7f6d733177 (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) 2019 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
# This file is part of the thembed Python module, which is MIT-licensed.
#**************************************************************************
""" Setup script for the thembed 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 ImportError:
	pass

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

_setup(**kwargs)

# End of file.