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
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
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
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
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
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