mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
do only rely on cmdclass
This commit is contained in:
parent
34936d5f25
commit
96148a8dd9
@ -37,19 +37,10 @@ class ManPageGenerator(install):
|
||||
super().run()
|
||||
|
||||
|
||||
class SdistCommand(sdist):
|
||||
def run(self):
|
||||
copy_include_dir()
|
||||
super().run()
|
||||
copy_include_dir()
|
||||
|
||||
|
||||
class BuildCommand(build):
|
||||
def run(self):
|
||||
copy_include_dir()
|
||||
super().run()
|
||||
|
||||
|
||||
cmdclass = {"sdist": SdistCommand, "build": BuildCommand}
|
||||
cmdclass = {}
|
||||
try:
|
||||
import pypandoc
|
||||
cmdclass["install"] = ManPageGenerator
|
||||
|
Loading…
x
Reference in New Issue
Block a user