Add setuptools sphinx integration
This commit is contained in:
parent
7ba296a6fe
commit
86932617bd
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -17,4 +17,5 @@ dist
|
||||||
*.egg-info
|
*.egg-info
|
||||||
docs/_*/*
|
docs/_*/*
|
||||||
docs/autodoc/
|
docs/autodoc/
|
||||||
|
build/sphinx/
|
||||||
pyan/
|
pyan/
|
||||||
|
|
14
setup.py
14
setup.py
|
@ -17,13 +17,7 @@ EXTRAS_REQUIRE = {
|
||||||
'qrcode': ['qrcode'],
|
'qrcode': ['qrcode'],
|
||||||
'sound;platform_system=="Windows"': ['winsound'],
|
'sound;platform_system=="Windows"': ['winsound'],
|
||||||
'tor': ['stem'],
|
'tor': ['stem'],
|
||||||
'docs': [
|
'docs': ['sphinx', 'sphinxcontrib-apidoc', 'm2r']
|
||||||
'sphinx', # fab build_docs
|
|
||||||
'graphviz', # fab build_docs
|
|
||||||
'curses', # src/depends.py
|
|
||||||
'python2-pythondialog', # src/depends.py
|
|
||||||
'm2r', # fab build_docs
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -155,5 +149,9 @@ if __name__ == "__main__":
|
||||||
# ]
|
# ]
|
||||||
},
|
},
|
||||||
scripts=['src/pybitmessage'],
|
scripts=['src/pybitmessage'],
|
||||||
cmdclass={'install': InstallCmd}
|
cmdclass={'install': InstallCmd},
|
||||||
|
command_options={
|
||||||
|
'build_sphinx': {
|
||||||
|
'source_dir': ('setup.py', 'docs')}
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
|
Reference in New Issue
Block a user