Commit 4c1a452a authored by Leo Pound Singer's avatar Leo Pound Singer

Fix readthedocs build

parent 431a2012
Pipeline #46774 passed with stages
in 58 seconds
requirements_file: docs-requirements.txt
graft docs
include *requirements.txt
......@@ -30,11 +30,6 @@ classifiers =
[options]
packages = find:
python_requires = >=2.7
install_requires =
pyasn1>=0.1.8,<=0.3.7
pyasn1-modules>=0.0.5,<=0.1.5
safe-netrc
sleekxmpp
[options.entry_points]
console_scripts =
......
import sys
import pkg_resources
from setuptools import setup
def get_requirements(filename):
with open(filename, 'r') as f:
return [str(r) for r in pkg_resources.parse_requirements(f)]
setup_requires = ['setuptools >= 30.3.0']
if {'build_sphinx'}.intersection(sys.argv):
setup_requires.extend(['recommonmark', 'sphinx', 'sphinx-argparse'])
setup_requires.extend(get_requirements('docs-requirements.txt'))
setup(setup_requires=setup_requires)
setup(install_requires=get_requirements('requirements.txt'),
setup_requires=setup_requires)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment