Changeset 968aa6e in sasview
- Timestamp:
- Apr 5, 2014 6:15:35 AM (11 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- f44b076
- Parents:
- a40a875
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r27b7acc r968aa6e 7 7 from setuptools import setup, Extension 8 8 from distutils.command.build_ext import build_ext 9 from distutils.core import Command 10 11 sys.path.append("docs/sphinx-docs") 12 import build_sphinx 9 13 10 14 try: … … 129 133 130 134 build_ext.build_extensions(self) 135 136 class BuildSphinxCommand(Command): 137 description = "Build Sphinx documentation." 138 user_options = [] 139 140 def initialize_options(self): 141 self.cwd = None 142 143 def finalize_options(self): 144 self.cwd = os.getcwd() 145 146 def run(self): 147 build_sphinx.clean() 148 build_sphinx.retrieve_user_docs() 149 build_sphinx.apidoc() 150 build_sphinx.build() 131 151 132 152 # sans module … … 356 376 ] 357 377 }, 358 cmdclass = {'build_ext': build_ext_subclass } 378 cmdclass = {'build_ext': build_ext_subclass, 379 'docs': BuildSphinxCommand} 359 380 )
Note: See TracChangeset
for help on using the changeset viewer.