mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 11:21:32 +00:00
Add Sphinx as an extra requirement to 'setup.py'
This commit is contained in:
parent
2fc54832f3
commit
cd2b732b8f
30
setup.py
30
setup.py
@ -2,7 +2,6 @@ from os.path import dirname, realpath, join
|
|||||||
|
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
|
|
||||||
here = dirname(realpath(__file__))
|
here = dirname(realpath(__file__))
|
||||||
|
|
||||||
with open(join(here, 'VERSION'), 'r') as ifile:
|
with open(join(here, 'VERSION'), 'r') as ifile:
|
||||||
@ -10,14 +9,21 @@ with open(join(here, 'VERSION'), 'r') as ifile:
|
|||||||
with open(join(here, 'requirements.txt'), 'r') as ifile:
|
with open(join(here, 'requirements.txt'), 'r') as ifile:
|
||||||
requirements = ifile.read().splitlines()
|
requirements = ifile.read().splitlines()
|
||||||
|
|
||||||
setup(name='tfw',
|
setup(
|
||||||
version=version,
|
name = 'tfw',
|
||||||
description='Avatao tutorial-framework',
|
version = version,
|
||||||
url='https://github.com/avatao-content/baseimage-tutorial-framework',
|
description = 'Avatao tutorial-framework',
|
||||||
author='Avatao.com Innovative Learning Kft.',
|
url = 'https://github.com/avatao-content/baseimage-tutorial-framework',
|
||||||
author_email='support@avatao.com',
|
author = 'Avatao.com Innovative Learning Kft.',
|
||||||
license='custom',
|
author_email = 'support@avatao.com',
|
||||||
packages=find_packages('lib'),
|
license = 'custom',
|
||||||
package_dir={'': 'lib'},
|
packages = find_packages('lib'),
|
||||||
install_requires=requirements,
|
package_dir = {'': 'lib'},
|
||||||
zip_safe=False)
|
install_requires = requirements,
|
||||||
|
extras_require = {
|
||||||
|
'docs': [
|
||||||
|
'sphinx >= 1.7.0',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
zip_safe = False,
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user