davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=a0a6d756b57ab3e80c1d74db2ddb0fd612908864

commit a0a6d756b57ab3e80c1d74db2ddb0fd612908864
Author: Dave Andreoli <d...@gurumeditation.it>
Date:   Sun Dec 5 10:43:36 2021 +0100

    Fix install using pip
    
    pip run setup.py bdist_wheel so we need to take that into account
    
    this also fix generation of wheels in general
---
 Makefile       | 1 +
 pyproject.toml | 3 ++-
 setup.py       | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 60c2f00..76d5bff 100644
--- a/Makefile
+++ b/Makefile
@@ -55,6 +55,7 @@ maintainer-clean:
        rm -rf build/
        rm -rf dist/
        rm -rf python_efl.egg-info/
+       rm -f installed_files-*.txt
 
 
 .PHONY: dist
diff --git a/pyproject.toml b/pyproject.toml
index 9978d83..7a8d063 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,2 +1,3 @@
 [build-system]
-requires = ['setuptools', 'wheel']
\ No newline at end of file
+requires = ['setuptools', 'wheel']
+build-backend = 'setuptools.build_meta'
\ No newline at end of file
diff --git a/setup.py b/setup.py
index 7f5cbe5..88b63fe 100755
--- a/setup.py
+++ b/setup.py
@@ -117,7 +117,7 @@ if os.getenv('CFLAGS') is not None and '-fvisibility=' in 
os.environ['CFLAGS']:
     os.environ['CFLAGS'] += ' -fvisibility=default'
 
 
-if set(('build', 'build_ext', 'install', 'bdist', 'sdist')) & set(sys.argv):
+if set(('build', 'build_ext', 'install', 'bdist', 'bdist_wheel', 'sdist')) & 
set(sys.argv):
     # === check cython version ===
     sys.stdout.write('Checking for Cython: ')
     if USE_CYTHON:

-- 


Reply via email to