23 lines
684 B
Python
Executable File
23 lines
684 B
Python
Executable File
#!/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.
|