Comments (6)
thank you for comment, fixed author field cielavenir@f945d57
from python-isal.
That would complicate things, as the prefix for the included ISA-L source needs to be build somewhere. Using the temporary directory is the best option. The temporary directory is obtained with python's tempfile module. So you can also run TMPDIR=/path/to/somewhere pip install isal
to use another path.
Also wheels are provided for most platforms and python versions, so a build of ISA-L should not be triggered. Which platform are you building on? Did you upgrade to the latest version of pip?
from python-isal.
ok, building in another directory worked (sorry my machine has /tmp exec and a colleague of mine has /tmp noexec so I needed to test using yet another directory than /tmp).
- For a reason I have to use Python2, so I need to strip type annotations. Of course I know it is not something to be merged, but that also means wheels are not expected.
- We use build orchestration system, so passing TMPDIR is a little difficult.
It could also be possible to fallback to Makefile.unx only when permission denied happens.
from python-isal.
well, I just thought TMPDIR issue is out of the scope to backporting to Python2, so I felt like there could still be some people having the same issue.
meanwhile it is also true that I can keep my autogenless setup.py for my Py2 fork.
maybe please close this. sorry for confusion.
from python-isal.
For a reason I have to use Python2, so I need to strip type annotations. Of course I know it is not something to be merged, but that also means wheels are not expected.
When I started this project (september 2020) Python2 was officially not supported anymore for 9 months already. Type annotations are also not supported for python 3.4 and lower. This projects supports 3.6 and higher, partly because these are still supported, but also because it makes my life easier. (F-strings hurray!) Therefore I won't be supporting python 2.
I am not going to have python2 packages under the isal
repository for the aforementioned reason. But since you already have a py2 fork, maybe you could create your own isal-py2
package on PyPI and push wheels there? Using cibuildwheel that should be quite doable. Please have a rigorous reading trough setup.py and
- add python2 dependencies in setup_requires
- Change the contact email to yours. I don't want any python2 support requests ;-)
- Change the description to clarify that this is a fork that tracks the
isal
package.
Also the README will need some modificiation where all the references in the shield images should point specifically to python-isal-py2 and not this repository.
Anyway. Quite some work to maintain the port and build a wheel. But maybe less intensive than hacking all the individual machines to make it install?
from python-isal.
closing
from python-isal.
Related Issues (20)
- Release GIL inside library HOT 5
- Windows compilation broken due to limits.h HOT 3
- Support for arm-osx? HOT 4
- isal installation fails in virtual env based on win32 cpython 3.8.10 HOT 2
- Release 1.2.0
- Release 1.3.0
- Release 1.4.0
- Release 1.4.1
- Release 1.5.0
- Memory leak in v1.4.0 and newer HOT 4
- Release 1.5.1
- Automatically test for memory leaks using libasan HOT 1
- igzip_threaded.open does not close opened file on error HOT 5
- Release 1.5.2
- igzip_threaded cannot append HOT 4
- Release 1.5.3
- _PyBytes_Join will be removed in 3.13
- IGzipFile should not crash on wrong compression level when opened for reading. HOT 5
- Release 1.6.0
- Release 1.6.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-isal.