Browse Source

Add setuptools sphinx integration

v0.6
Dmitri Bogomolov 2 years ago
parent
commit
86932617bd
Signed by untrusted user: g1itch GPG Key ID: 720A756F18DEED13
  1. 1
      .gitignore
  2. 14
      setup.py

1
.gitignore

@ -17,4 +17,5 @@ dist
*.egg-info
docs/_*/*
docs/autodoc/
build/sphinx/
pyan/

14
setup.py

@ -17,13 +17,7 @@ EXTRAS_REQUIRE = {
'qrcode': ['qrcode'],
'sound;platform_system=="Windows"': ['winsound'],
'tor': ['stem'],
'docs': [
'sphinx', # fab build_docs
'graphviz', # fab build_docs
'curses', # src/depends.py
'python2-pythondialog', # src/depends.py
'm2r', # fab build_docs
]
'docs': ['sphinx', 'sphinxcontrib-apidoc', 'm2r']
}
@ -155,5 +149,9 @@ if __name__ == "__main__":
# ]
},
scripts=['src/pybitmessage'],
cmdclass={'install': InstallCmd}
cmdclass={'install': InstallCmd},
command_options={
'build_sphinx': {
'source_dir': ('setup.py', 'docs')}
}
)

Loading…
Cancel
Save