@@ -556,6 +556,8 @@ def _do_it(self, mode='update'):
556
556
return ret
557
557
558
558
def _change_git_discription_in_config_py (self ):
559
+ # print('\n\n_change_git_discription_in_config_py(): self._github_long_description = "{}"\n\n'.format(self._github_long_description))
560
+ # logger.error('DE _change_git_discription_in_config_py(): self._github_long_description = "{}"'.format(self._github_long_description))
559
561
''' change git_discription in pyradio/config.py '''
560
562
if self ._github_long_description is not None :
561
563
try :
@@ -593,6 +595,14 @@ def _download_pyradio(self):
593
595
sys .exit (1 )
594
596
with open (os .path .join (self ._dir , self .ZIP_DIR [self ._package ], 'DEV' ), 'w' ) as b :
595
597
pass
598
+ ''' DEBUG
599
+ get new install.py, copy.py (any py)
600
+ into downloaded directory
601
+ '''
602
+ # from shutil import copyfile
603
+ # cur_dir = os.getcwd()
604
+ # copyfile('/home/spiros/projects/my-gits/pyradio/pyradio/install.py', os.path.join(cur_dir, 'install.py'))
605
+ # copyfile('/home/spiros/projects/my-gits/pyradio/pyradio/config.py', os.path.join(cur_dir, 'config.py'))
596
606
597
607
def _mkdir (self , name , dir_exist_function = None , _permission_error_function = None ):
598
608
if os .path .isdir (name ):
@@ -790,12 +800,14 @@ def _do_it(self, mode='update'):
790
800
package = 1
791
801
VERSION , github_long_description = get_github_long_description (use_sng_repo = True , sng_branch = True )
792
802
github_long_description += '-sng'
803
+ github_long_description = github_long_description .replace ('-' , '-r' , 1 )
793
804
elif args .sng_devel :
794
805
'''' sng devel '''
795
806
args .force = True
796
807
package = 2
797
808
VERSION , github_long_description = get_github_long_description (use_sng_repo = True )
798
809
github_long_description += '-sng-dev'
810
+ github_long_description = github_long_description .replace ('-' , '-r' , 1 )
799
811
elif args .devel :
800
812
''' official devel '''
801
813
package = 3
0 commit comments