diff --git a/setup.py b/setup.py index f8e7ad1..d6f3434 100644 --- a/setup.py +++ b/setup.py @@ -1,46 +1,46 @@ from setuptools import setup, find_packages try: from sphinx.setup_command import BuildDoc - cmdclass={'doc': BuildDoc} + cmdclass = {'doc': BuildDoc} except Exception: - cmdclass={} + cmdclass = {} name = 'slides' version = '1.0' release = '1.0.0' setup(name=name, packages=find_packages(), version="0.0.1", author="Guillaume Anciaux", author_email="guillaume.anciaux@epfl.ch", description=("Slides making/convertion tools"), install_requires=["sphinx", "jupyter", "sympy", "pypdf2", "matplotlib", "wand", "dill", "jupyter_contrib_nbextensions"], tests_requires=["pytest"], setup_requires=["pytest-runner"], test_suite="tests", cmdclass=cmdclass, command_options={ 'doc': { 'project': ('setup.py', name), 'version': ('setup.py', version), 'release': ('setup.py', release), 'source_dir': ('setup.py', 'doc')}}, scripts=['scripts/slides', 'scripts/pLatex'], license=""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . """)