summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--CODING61
-rw-r--r--ChangeLog9
-rw-r--r--Makefile7
-rwxr-xr-xsetup.py13
4 files changed, 57 insertions, 33 deletions
diff --git a/CODING b/CODING
index a91447f..0f9f1ef 100644
--- a/CODING
+++ b/CODING
@@ -99,42 +99,45 @@ Release process instructions
99============================ 99============================
100 100
101* use "api_coverage.py --python elementary" to see the missing bindings 101* use "api_coverage.py --python elementary" to see the missing bindings
102* Announce at enlightenment-release@lists.sourceforge.net and 102
103 enlightenment-devel@lists.sourceforge.net that you are planning for the release 103* Change versions in efl/__init__.py (ex: 1.9.0), if needed also update
104* Change versions in efl/__init__.py (ex: 1.9.0) 104 EFL_MIN_VER in setup.py
105
105* Update the ChangeLog file: 106* Update the ChangeLog file:
106 setup.py build_doc -b changes ...and manually merge from the html file 107 setup.py build_doc -b changes ...and manually merge from the html file
107* Git push and wait jenkins to generate the tarballs and the documentation 108
108 JENKIS IS DEAD :( these are the manual instructions: 109* Generate the source and binary distribution:
109 * setup.py sdist --formats gztar,xztar 110 - make maintainer-clean (just to be sure nothing is cached)
110 * (cd dist) sha256sum python-efl-1.9.0.tar.xz > python-efl-1.9.0.tar.xz.sha256 111 - make dist
111 * setup.py build_doc (check that inheritance graphs are there) 112
112* Test the generated tarballs 113* Test the generated tarballs
113* scp tarballs & md5sums to: 114 - the tar.gz should work by extracting and running: python setup.py install
114 download.enlightenment.org:/srv/web/download.enlightenment.org/pre-releases/ 115 - the wheel should be installable using: pip install dist/python-efl-xxxx.whl
115* Announce at enlightenment-release@lists.sourceforge.net and 116
116 enlightenment-devel@lists.sourceforge.net that tarballs are ready for testing 117* Publish the two tarballs on e.org:
117 118 - scp tarballs & md5sums to:
118... wait 24 hours, fix any issues found. In the mean time you can prepare the 119 download.enlightenment.org:/srv/web/download.enlightenment.org/rel/bindings/python/
119 release announcement for phame/ml. 120 - update download link on the wiki (www.enlightenment.org/download)
120 121
121* ssh to download.enlightenment.org and mv tarballs & md5sums to: 122* Pubish the .tar.gz archive to pypi:
122 /srv/web/download.enlightenment.org/rel/bindings/python/ 123 - python setup.py sdist upload (need ~/.pypirc)
123* Upload the .tar.gz archive to pypi: 124 - TODO !!!!!!!
124 - NOTE: pypi is migrating to pypi.org domain, you must work on the new one 125
125 - python setup.py sdist upload (need ~/.pypirc) 126* Documentation:
126 - more info at https://packaging.python.org/guides/migrating-to-pypi-org/ 127 - make doc (check that inheritance graphs are there)
128 - scp the generated html documentation to:
129 download.enlightenment.org:/srv/web/docs.enlightenment.org/python-efl/1.9.0/
130 - update the 'current' link on the server (ssh)
131
127* Create and push the tag for the release 132* Create and push the tag for the release
128 git tag -a v1.9.0 && git push origin v1.9.0 133 - git tag -a v1.9.0 && git push origin v1.9.0
134
129* Create and push the branch for stable backporting 135* Create and push the branch for stable backporting
130 git branch python-efl-1.9 && git push origin python-efl-1.9 136 git branch python-efl-1.9 && git push origin python-efl-1.9
131* scp the jenkins generated html documentation to: 137
132 download.enlightenment.org:/srv/web/docs.enlightenment.org/python-efl/1.XX.0/
133 and update the 'current' link on the server (ssh)
134* Update download link on the wiki (www.enlightenment.org/download)
135* Publish the blog post on phame (Official Announcements)
136* Announce the release to release@lists.enlightenment.org and 138* Announce the release to release@lists.enlightenment.org and
137 enlightenment-release@lists.sourceforge.net 139 enlightenment-release@lists.sourceforge.net
140
138* Change versions again in efl/__init__.py (ex: 1.9.99) 141* Change versions again in efl/__init__.py (ex: 1.9.99)
139 142
140more info at: 143more info at:
diff --git a/ChangeLog b/ChangeLog
index 8f0a7f7..44ecacb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
1===================
2TO BE DONE v1.26.0
3===================
4
5Changes:
6 * Switched to setuptools for the build system (can now install from pip again)
7 * Dropped py2.6 support, minimum is now 2.7
8 * Deprecated python2 support, with a big-fat-slow warning
9
1 10
2=================== 11===================
32020-09-24 v1.25.0 122020-09-24 v1.25.0
diff --git a/Makefile b/Makefile
index 76d5bff..9d0a7d9 100644
--- a/Makefile
+++ b/Makefile
@@ -61,5 +61,8 @@ maintainer-clean:
61.PHONY: dist 61.PHONY: dist
62dist: 62dist:
63 $(PY) setup.py sdist --formats=gztar,xztar 63 $(PY) setup.py sdist --formats=gztar,xztar
64 64 $(PY) setup.py bdist_wheel
65 65 @cd dist/; for f in `ls *.tar.*` ; do \
66 echo Generating sha256 for: $$f ; \
67 sha256sum $$f > $$f.sha256; \
68 done
diff --git a/setup.py b/setup.py
index 11b9968..8ec8118 100755
--- a/setup.py
+++ b/setup.py
@@ -3,6 +3,7 @@
3 3
4import os 4import os
5import sys 5import sys
6import time
6import platform 7import platform
7import subprocess 8import subprocess
8import unittest 9import unittest
@@ -55,9 +56,17 @@ sys.stdout.write('Python-EFL: %s\n' % RELEASE)
55sys.stdout.write('Checking for Python: ') 56sys.stdout.write('Checking for Python: ')
56py_ver = sys.version_info 57py_ver = sys.version_info
57py_ver = '%s.%s.%s' % (py_ver[0], py_ver[1], py_ver[2]) 58py_ver = '%s.%s.%s' % (py_ver[0], py_ver[1], py_ver[2])
58if sys.hexversion < 0x020600f0: 59if sys.hexversion < 0x020700f0:
59 raise SystemExit('too old. Found: %s Need at least 2.6.0' % py_ver) 60 raise SystemExit('too old. Found: %s Need at least 2.7.0' % py_ver)
60sys.stdout.write('OK, found %s\n' % py_ver) 61sys.stdout.write('OK, found %s\n' % py_ver)
62if sys.version_info.major == 2:
63 print(
64 '\n'
65 'WARNING: Python 2 support is deprecated and will be removed soon.\n'
66 ' You should really upgrade to python 3, NOW !\n'
67 ' ...you have been warned, continue at your own risk.\n'
68 )
69 time.sleep(5) # you really need to read the above message :P
61 70
62 71
63# === use cython or pre-generated C files === 72# === use cython or pre-generated C files ===