This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository python-efl.
View the commit online.
commit 11623c17f18bac908cb71a99ac628ac6b869746c
Author: Dave Andreoli <[email protected]>
AuthorDate: Tue Aug 19 16:05:26 2025 +0200
Modernize build: Uninstall is no more
---
INSTALL | 3 ---
Makefile | 10 ++++------
README.md | 4 ++--
setup.py | 39 ---------------------------------------
4 files changed, 6 insertions(+), 50 deletions(-)
diff --git a/INSTALL b/INSTALL
index 53522cd..9a09f41 100644
--- a/INSTALL
+++ b/INSTALL
@@ -77,9 +77,6 @@
(sudo) python setup.py install --prefix=/MY_PREFIX
- * You can also uninstall using:
-
- (sudo) python setup.py uninstall
5. DOCUMENTATION
diff --git a/Makefile b/Makefile
index f41795c..8a6584f 100644
--- a/Makefile
+++ b/Makefile
@@ -26,12 +26,10 @@ build:
.PHONY: install
install:
- $(PY) setup.py install
-
-
-.PHONY: uninstall
-uninstall:
- $(PY) setup.py uninstall
+# .PHONY: uninstall
+# uninstall:
+# $(PY) setup.py uninstall
+# $(PY) -m pip uninstall python-efl --break-system-packages
.PHONY: doc
diff --git a/README.md b/README.md
index 53caf04..ab3a54a 100644
--- a/README.md
+++ b/README.md
@@ -58,9 +58,9 @@ Feel free to make pull requests on GitHub.
Documentation for the last stable release can be found [here](https://docs.enlightenment.org/python-efl/current/).
Additionally you can generate the documentation yourself from the source code using the following command:
```
- python setup.py build build_doc
+ make doc
```
-The HTML generated documentation will be available in the folder: `build/sphinx/html/`
+The HTML generated documentation will be available in the folder: `build/docs/`
## Some of the projects using Python-EFL (in random order)
diff --git a/setup.py b/setup.py
index c091856..5230278 100755
--- a/setup.py
+++ b/setup.py
@@ -376,49 +376,10 @@ class CleanGenerated(Command):
RECORD_FILE = 'installed_files-%d.%d.txt' % (sys.version_info[0], sys.version_info[1])
-class Uninstall(Command):
- description = 'remove all the installed files recorded at installation time'
- user_options = []
-
- def initialize_options(self):
- pass
-
- def finalize_options(self):
- pass
-
- @staticmethod
- def remove_entry(entry):
- if os.path.isfile(entry):
- try:
- print('removing file %s' % entry)
- os.unlink(entry)
- except OSError as err:
- print(err)
- return
-
- directory = os.path.dirname(entry)
- while not os.listdir(directory):
- try:
- print('removing empty directory %s' % directory)
- os.rmdir(directory)
- except OSError as err:
- print(err)
- break
- directory = os.path.dirname(directory)
-
- def run(self):
- if not os.path.exists(RECORD_FILE):
- print('ERROR: No %s file found!' % RECORD_FILE)
- else:
- for entry in open(RECORD_FILE).read().split():
- self.remove_entry(entry)
-
-
setup(
cmdclass={
'test': Test,
'clean_generated_files': CleanGenerated,
- 'uninstall': Uninstall,
},
command_options={
'install': {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.