File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 5353 setup ,
5454)
5555from setuptools .command .build import build
56+ from setuptools .command .editable_wheel import editable_wheel
5657from setuptools .command .install import install
5758
5859
@@ -233,6 +234,12 @@ def _metadata(self):
233234 }
234235
235236
237+ class picard_editable_wheel (editable_wheel ):
238+ def run (self ):
239+ generate_file ('scripts/picard.in' , 'scripts/' + PACKAGE_NAME , {'autoupdate' : True })
240+ super ().run ()
241+
242+
236243def py_from_ui (uifile ):
237244 return "ui_%s.py" % os .path .splitext (os .path .basename (uifile ))[0 ]
238245
@@ -666,6 +673,7 @@ def _picard_get_locale_files():
666673 'build' : picard_build ,
667674 'build_locales' : picard_build_locales ,
668675 'build_ui' : picard_build_ui ,
676+ 'editable_wheel' : picard_editable_wheel ,
669677 'clean_ui' : picard_clean_ui ,
670678 'build_appdata' : picard_build_appdata ,
671679 'regen_appdata_pot_file' : picard_regen_appdata_pot_file ,
You can’t perform that action at this time.
0 commit comments