Commits

Georg Brandl committed c369bd4

Fix demo setup.py.

Comments (0)

Files changed (1)

sphinx/setup_command.py

        cmdclass = {'build_sphinx': BuildDoc}
 
        name = 'My project'
-       version = 1.2
-       release = 1.2.0
+       version = '1.2'
+       release = '1.2.0'
        setup(
            name=name,
            author='Bernard Montgomery',
            version=release,
-           cmdclass={'build_sphinx': BuildDoc},
+           cmdclass=cmdclass,
            # these are optional and override conf.py settings
            command_options={
                'build_sphinx': {