Re: [E-devel] Getting Started With The Python Bindings

Abdur-Rahmaan Janhangeer <[email protected]>
Newsgroups gmane.comp.window-managers.enlightenment.devel
Message-ID <CADrxXXkkE=BD4NQJqwG4WpWEfkEHaw31pVhW5HPJnwKgwZ3B=A@mail.gmail.com>
Ok then ill go the system-wide way. Thanks¬

Kind Regards,

Abdur-Rahmaan Janhangeer
about <https://compileralchemy.github.io/> | blog
<https://www.pythonkitchen.com>
github <https://github.com/Abdur-RahmaanJ>
Mauritius


On Tue, Sep 28, 2021 at 11:42 AM Davide Andreoli <[email protected]>
wrote:

> Hi,
> the pipi python-efl packages are broken and no longer maintained (for
> technical reasons), so don't use them.
>
> The python-efl package is thinked to be installed system-wide, we never
> tested under a venv because it does not really have advantages in our
> opinion,
> you cannot have different python-efl versions installed on your system
> (because they are tightly coupled with the efl version).
>
> I suggest just install system-wide as suggested in the docs (it will not
> harm your system, it is just a folder under your py dist-packages folder).
>
> Best regards
> DaveMDS
>
> Il giorno mar 28 set 2021 alle ore 06:39 Abdur-Rahmaan Janhangeer <
> [email protected]> ha scritto:
>
> > Greetings list,
> >
> > Robert Wiley has been guiding me to set up efl. I downloaded
> > the python binding repo. The normal way is to install python3-efl
> >
> > But i was wondering python-wise how exactly do you install the package
> > in a virtual environment after cloning?
> >
> > I tried pip install . but did not work. Like i want to learn efl first
> > independently
> > of Bodhi Linux. brute installing a python3-x package is kind of aweful in
> > the
> > python perspective as python3 can mean anything. python3.9-efl means its
> > efl for python3.9. Else why not provide a pypi package that works? That's
> > why
> > you have pypi, to distribute packages to python devs ...
> >
> >
> > Pypi errors:
> >
> > ---
> > Collecting python-efl
> >   Downloading python-efl-1.23.0.tar.gz (11.7 MB)
> >      |████████████████████████████████| 11.7 MB 1.1 MB/s
> > Building wheels for collected packages: python-efl
> >   Building wheel for python-efl (setup.py) ... error
> >   ERROR: Command errored out with exit status 1:
> >    command: /home/appinv/play/xxx/venv/bin/python3.9 -u -c 'import sys,
> > setuptools, tokenize; sys.argv[0] =
> > '"'"'/tmp/pip-install-bvi2fget/python-efl/setup.py'"'"';
> >
> >
> __file__='"'"'/tmp/pip-install-bvi2fget/python-efl/setup.py'"'"';f=getattr(tokenize,
> > '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
> > '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
> > bdist_wheel -d /tmp/pip-wheel-bzsg9n9c
> >        cwd: /tmp/pip-install-bvi2fget/python-efl/
> >   Complete output (6 lines):
> >   usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
> >      or: setup.py --help [cmd1 cmd2 ...]
> >      or: setup.py --help-commands
> >      or: setup.py cmd --help
> >
> >   error: invalid command 'bdist_wheel'
> >   ----------------------------------------
> >   ERROR: Failed building wheel for python-efl
> >   Running setup.py clean for python-efl
> > Failed to build python-efl
> > Installing collected packages: python-efl
> >     Running setup.py install for python-efl ... error
> >     ERROR: Command errored out with exit status 1:
> >      command: /home/appinv/play/xxx/venv/bin/python3.9 -u -c 'import sys,
> > setuptools, tokenize; sys.argv[0] =
> > '"'"'/tmp/pip-install-bvi2fget/python-efl/setup.py'"'"';
> >
> >
> __file__='"'"'/tmp/pip-install-bvi2fget/python-efl/setup.py'"'"';f=getattr(tokenize,
> > '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
> > '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
> > install --record /tmp/pip-record-wm8w9zr2/install-record.txt
> > --single-version-externally-managed --compile --install-headers
> > /home/appinv/play/xxx/venv/include/site/python3.9/python-efl
> >          cwd: /tmp/pip-install-bvi2fget/python-efl/
> >     Complete output (8 lines):
> >     Python-EFL: 1.23.0
> >     Checking for Python: OK, found 3.9.5
> >     Checking for Cython: not needed, using pre-generated C files
> >     Checking for Eina: Package eina was not found in the pkg-config
> search
> > path.
> >     Perhaps you should add the directory containing `eina.pc'
> >     to the PKG_CONFIG_PATH environment variable
> >     No package 'eina' found
> >     Did not find Eina with 'pkg-config'.
> >     ----------------------------------------
> > ERROR: Command errored out with exit status 1:
> > /home/appinv/play/xxx/venv/bin/python3.9 -u -c 'import sys, setuptools,
> > tokenize; sys.argv[0] =
> > '"'"'/tmp/pip-install-bvi2fget/python-efl/setup.py'"'"';
> >
> >
> __file__='"'"'/tmp/pip-install-bvi2fget/python-efl/setup.py'"'"';f=getattr(tokenize,
> > '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
> > '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
> > install --record /tmp/pip-record-wm8w9zr2/install-record.txt
> > --single-version-externally-managed --compile --install-headers
> > /home/appinv/play/xxx/venv/include/site/python3.9/python-efl Check the
> logs
> > for full command output.
> > ---
> >
> > Local install (pip install .) errors:
> >
> > ---
> > Processing /home/appinv/play/xxx/python-efl
> > Building wheels for collected packages: python-efl
> >   Building wheel for python-efl (setup.py) ... error
> >   ERROR: Command errored out with exit status 1:
> >    command: /home/appinv/play/xxx/venv/bin/python3.9 -u -c 'import sys,
> > setuptools, tokenize; sys.argv[0] =
> > '"'"'/tmp/pip-req-build-k8ok9_p4/setup.py'"'"';
> >
> __file__='"'"'/tmp/pip-req-build-k8ok9_p4/setup.py'"'"';f=getattr(tokenize,
> > '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
> > '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
> > bdist_wheel -d /tmp/pip-wheel-wqn5m_zq
> >        cwd: /tmp/pip-req-build-k8ok9_p4/
> >   Complete output (6 lines):
> >   usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
> >      or: setup.py --help [cmd1 cmd2 ...]
> >      or: setup.py --help-commands
> >      or: setup.py cmd --help
> >
> >   error: invalid command 'bdist_wheel'
> >   ----------------------------------------
> >   ERROR: Failed building wheel for python-efl
> >   Running setup.py clean for python-efl
> > Failed to build python-efl
> > Installing collected packages: python-efl
> >     Running setup.py install for python-efl ... error
> >     ERROR: Command errored out with exit status 1:
> >      command: /home/appinv/play/xxx/venv/bin/python3.9 -u -c 'import sys,
> > setuptools, tokenize; sys.argv[0] =
> > '"'"'/tmp/pip-req-build-k8ok9_p4/setup.py'"'"';
> >
> __file__='"'"'/tmp/pip-req-build-k8ok9_p4/setup.py'"'"';f=getattr(tokenize,
> > '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
> > '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
> > install --record /tmp/pip-record-nvvr31os/install-record.txt
> > --single-version-externally-managed --compile --install-headers
> > /home/appinv/play/xxx/venv/include/site/python3.9/python-efl
> >          cwd: /tmp/pip-req-build-k8ok9_p4/
> >     Complete output (3 lines):
> >     Python-EFL: 1.25.99a1221
> >     Checking for Python: OK, found 3.9.5
> >     Checking for Cython: not found! Needed >= 0.23.5
> >     ----------------------------------------
> > ERROR: Command errored out with exit status 1:
> > /home/appinv/play/xxx/venv/bin/python3.9 -u -c 'import sys, setuptools,
> > tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-k8ok9_p4/setup.py'"'"';
> >
> __file__='"'"'/tmp/pip-req-build-k8ok9_p4/setup.py'"'"';f=getattr(tokenize,
> > '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
> > '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
> > install --record /tmp/pip-record-nvvr31os/install-record.txt
> > --single-version-externally-managed --compile --install-headers
> > /home/appinv/play/xxx/venv/include/site/python3.9/python-efl Check the
> logs
> > for full command output.
> > ---
> >
> >
> > So my beginner question is: how do you install python-efl in a way fit to
> > Python
> > developers
> >
> > Thanks
> > Kind Regards,
> >
> > Abdur-Rahmaan Janhangeer
> > about <https://compileralchemy.github.io/> | blog
> > <https://www.pythonkitchen.com>
> > github <https://github.com/Abdur-RahmaanJ>
> > Mauritius
> >
> > _______________________________________________
> > enlightenment-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
>
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>

_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.