2018-01-02 18:57:04 +01:00
|
|
|
#!/usr/bin/env python3
|
2018-02-19 19:50:26 +01:00
|
|
|
#******************************************************************************
|
|
|
|
# Copyright (C) 2018 Thomas "Cakeisalie5" Touhey <thomas@touhey.fr>
|
2019-02-11 17:48:01 +01:00
|
|
|
# This file is part of the textoutpc Python 3.x module, which is MIT-licensed.
|
2018-02-19 19:50:26 +01:00
|
|
|
#******************************************************************************
|
2018-01-16 13:34:11 +01:00
|
|
|
""" Setup script for the textoutpc Python package and script. """
|
|
|
|
|
2018-07-27 02:25:38 +02:00
|
|
|
from setuptools import setup as _setup
|
2018-01-02 18:57:04 +01:00
|
|
|
|
2018-07-30 15:12:54 +02:00
|
|
|
kwargs = {}
|
|
|
|
|
|
|
|
try:
|
|
|
|
from sphinx.setup_command import BuildDoc as _BuildDoc
|
|
|
|
kwargs['cmdclass'] = {'build_sphinx': _BuildDoc}
|
|
|
|
except:
|
|
|
|
pass
|
|
|
|
|
2018-07-27 02:01:26 +02:00
|
|
|
# Actually, most of the project's data is read from the `setup.cfg` file.
|
2018-01-16 13:34:11 +01:00
|
|
|
|
2018-07-30 15:12:54 +02:00
|
|
|
_setup(**kwargs)
|
2018-01-16 13:34:11 +01:00
|
|
|
|
|
|
|
# End of file.
|