Drop support for python2. #12
Merged
MicheleC
merged 2 commits from feat/drop-python-2
into master
1 year ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'feat/drop-python-2'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Needs TDE/tde-common-admin#15.
On deb distro, to be built with TDE/tde-packaging#187
It looks good and building is successful. Only there I am not sure about changing the default location for Python modules – see the comment below.
pyt_DATA = pydcop.py
pytdir = $(PYTHONMODDIR)/site-packages
pytdir = $(PYTHONMODDIR)/dist-packages
I believe that the default location should be
site-packages
, because this is the case when the package is built by an ordinary user. Placement indist-packages
should be provided either to enter the build option or by relocation within the packaging. We have to verify how it is done in other packages.I've added a second commit, which instead of the hard-coded
site-packages
/dist-packages
, uses detection of the configuration from detected Python. When building a Debian package it returns the path todist-packages
as we need.It looks good.
3c426c3906
tod85bd77116
1 year agoRebased to the current head and reversed the order of commits.
Now everything looks as needed.
d85bd77116
into master 1 year agoReviewers
d85bd77116
.