[SOLVED] Re: ah, progress...

2018-12-23 Thread ant
dieter wrote: ... thank you for your help. :) i finally worked through the changes needed at last. my current package in testing PyPI is at: https://test.pypi.org/project/ngfp/ which uses my code from: https://salsa.debian.org/ant-guest/gfpoken-in-python i ended up needing to

Re: ah, progress...

2018-12-21 Thread ant
dieter wrote: > ant writes: >> ... >> in order to get this far below i had to edit each >> file and put a try: except: around each import >> statment checking if the module could be found >> like (as an example): >> >> try: >> import config as cfg >> except: >> import frog.config as cfg

Re: ah, progress...

2018-12-20 Thread dieter
ant writes: > ... > in order to get this far below i had to edit each > file and put a try: except: around each import > statment checking if the module could be found > like (as an example): > > try: > import config as cfg > except: > import frog.config as cfg Is "frog" the package, yo

Re: ah, progress...

2018-12-20 Thread ant
dieter wrote: > ant writes: >> ant wrote: >> ... >>> (env) me@ant(26)~/src/test$ ngfp >>> Traceback (most recent call last): >>> File "/home/me/src/env/bin/ngfp", line 7, in >>> from ngfp import main >>> ImportError: cannot import name 'main' from 'ngfp' >>> (/home/me/src/salsa/env/lib/pyt

Re: ah, progress...

2018-12-19 Thread dieter
ant writes: > ant wrote: > ... >> (env) me@ant(26)~/src/test$ ngfp >> Traceback (most recent call last): >> File "/home/me/src/env/bin/ngfp", line 7, in >> from ngfp import main >> ImportError: cannot import name 'main' from 'ngfp' >> (/home/me/src/salsa/env/lib/python3.7/site-packages/ngf

Re: ah, progress...

2018-12-19 Thread ant
ant wrote: > ant wrote: > > ... > > script was there, but the package was not actually > installed. > > after installing again i get: > >= > > (env) me@ant(26)~/src/test$ ngfp > Traceback (most recent call last): > File "/home/me/src/env/bin/ngfp", line 7, in > from ngfp import main