Skip to content

Commit 069c579

Browse files
committed
Do not require Changelog or README.new_fusepy_api.html to create a sdist
Later on, we will adapt make_release.sh to generate a changelog from the git log.
1 parent d2fb453 commit 069c579

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

setup.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ class MyDistribution(Distribution):
4242
the to-be-generated files
4343
"""
4444

45-
def run_command(self, command):
46-
if command == 'sdist':
47-
for f in ('Changelog', 'README.new_fusepy_api.html'):
48-
if not os.path.exists(f):
49-
raise RuntimeError('file ' + repr(f) + \
50-
" doesn't exist, please generate it before creating a source distribution")
51-
52-
return Distribution.run_command(self, command)
45+
# def run_command(self, command):
46+
# if command == 'sdist':
47+
# for f in ('Changelog', 'README.new_fusepy_api.html'):
48+
# if not os.path.exists(f):
49+
# raise RuntimeError('file ' + repr(f) + \
50+
# " doesn't exist, please generate it before creating a source distribution")
51+
52+
# return Distribution.run_command(self, command)
5353

5454

5555
# write default fuse.pc path into environment if PKG_CONFIG_PATH is unset

0 commit comments

Comments
 (0)