summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add changelog for 0.4.230.4.23Adam Hupp2021-06-012-1/+8
|
* Update tests and docker config for newer versionsAdam Hupp2021-06-014-5/+10
|
* Cleanup library loadingAdam Hupp2021-06-011-35/+40
| | | | | | | | Simplify library loading so it's clearer what should happen for each platform. There is a very small chance this is a regression if you were somehow relying on windows DLL names on a non-windows platform. Also resolves https://github.com/ahupp/python-magic/pull/245
* actually try building packageAdam Hupp2021-05-211-1/+3
|
* add py.typed sentinal per ↵Adam Hupp2021-05-212-0/+1
| | | | https://www.python.org/dev/peps/pep-0561/#packaging-type-information
* Merge pull request #244 from jspricke/fix_del_cookieAdam Hupp2021-05-171-3/+1
|\ | | | | Check for cookie attribute before trying to delete it
| * Check for cookie attribute before trying to delete itJochen Sprickerhof2021-05-161-1/+1
| | | | | | | | | | | | | | | | | | __del__ is called regardless of whether __init__ passed, so the cookie attribute may not exits. This can be seen with: python3 -c "import magic; magic.Magic(foo=None)" Also discussed in https://github.com/ahupp/python-magic/pull/222#issuecomment-675354824
| * Revert "Fix bug in Magic when destructor called too early"Jochen Sprickerhof2021-05-161-2/+0
|/ | | | This reverts commit 16972c2c6fda3573860f5f8b0f2c03b757e71d3c.
* Merge pull request #243 from EtiennePelletier/fix_typoAdam Hupp2021-05-104-6/+6
|\ | | | | Fix typo (compatability --> compatibility)
| * Fix typo (compatability --> compatibility)EtiennePelletier2021-05-104-6/+6
|/
* Merge pull request #241 from gitter-badger/gitter-badgeAdam Hupp2021-04-251-1/+1
|\ | | | | Add a Gitter chat badge to README.md
| * Add Gitter badgeThe Gitter Badger2021-04-251-1/+1
|/
* Update README.mdAdam Hupp2021-04-161-2/+2
|
* Fix yet another import error0.4.22Adam Hupp2021-02-163-2/+3
| | | | | | | Seems to hit windows, probably OSX. We have great test coverage across linux distros, not so much elsewhere. Tested on my windows box by manually installing the wheel file.
* add docker test for alpine linuxAdam Hupp2021-02-163-12/+5
|
* update version and changeload0.4.21Adam Hupp2021-02-162-1/+6
|
* Factor out dll loader so it can be used by both compat and standard libraryAdam Hupp2021-02-163-43/+43
| | | | https://github.com/ahupp/python-magic/issues/232
* just select magic package, not tests0.4.20Adam Hupp2021-01-151-1/+1
|
* bump to 0.4.20Adam Hupp2021-01-153-6/+9
|
* remove contributors because its far out of date0.4.19Adam Hupp2021-01-151-15/+0
|
* fix typo in COMPAT.mdAdam Hupp2021-01-151-1/+2
|
* restore more 2.7 compatAdam Hupp2021-01-151-1/+1
|
* add more doc pointers for compat mode, and enable PendingDeprecationWarningAdam Hupp2021-01-152-17/+19
|
* restore python 2.7 to setup.py, to preserve back compatAdam Hupp2021-01-151-0/+1
|
* document libmagic compat layerAdam Hupp2021-01-151-0/+16
|
* prefix add_compat with an underscore to avoid namespace pollutionAdam Hupp2021-01-151-2/+2
|
* remove from_open_file, since its duplicative with from_descriptor and hasnt ↵Adam Hupp2021-01-152-17/+0
| | | | been released yet
* changelog for 0.4.19Adam Hupp2021-01-151-0/+22
|
* move typing stubs next to implementationAdam Hupp2021-01-151-0/+0
|
* skip magic_descriptor tests in centos 7Adam Hupp2021-01-154-4/+22
|
* cpAdam Hupp2021-01-151-1/+2
|
* temorarily remove dropped support for python2Adam Hupp2021-01-151-2/+9
|
* bump version to 0.4.19Adam Hupp2021-01-151-1/+1
|
* Revert "Remove Python2 from the tests"Adam Hupp2021-01-159-3/+10
| | | | This reverts commit 4a810b4f30f161b889d59cf2a207820fc0c731b7.
* Merge branch 'master' into redo-compatAdam Hupp2021-01-155-8/+20
|\
| * Merge pull request #231 from eumiro/readme-shellAdam Hupp2021-01-131-5/+15
| |\ | | | | | | Make the shell snippets more readable in README.md
| | * Make the shell snippets more readable in README.mdMiroslav Šedivý2021-01-131-5/+15
| |/
| * Merge pull request #229 from eumiro/py39Adam Hupp2021-01-134-1/+4
| |\ | | | | | | Add support for Python 3.9
| | * Add support for Python 3.9Miroslav Šedivý2021-01-114-1/+4
| |/
* | CI: Fix test execution on TravisSchoolGuy2021-01-131-4/+4
| | | | | | | | We are already running a matrix. Thus we don't need our wrapper script
* | Reformat according to PEPSchoolGuy2021-01-136-98/+109
| | | | | | | | I achieved this via the PyCharm Reformat Shortcut
* | Fix path of the test pdfSchoolGuy2021-01-131-2/+1
| |
* | Remove Python2 from the testsSchoolGuy2021-01-139-9/+4
| |
* | fix libmagic testAdam Hupp2018-01-141-1/+5
| |
* | various cleanups proposed by debian folksAdam Hupp2018-01-141-3/+7
| |
* | Merge in compatability mode with libmagicAdam Hupp2017-12-046-10/+404
| | | | | | | | | | | | | | | | | | | | | | | | | | The libmagic distribution uses the same package name `magic` as python-magic, but has an incompatible API. This change merges in a copy of libmagic's bindings, wrapped to give deprecation warnings. This is intended to a) mitigate the short-term pain to users and packagers who need to figure out which to use, and b) give us a path to merging the two sets of bindings. I'd be happy for libmagic to take over this package if we could find a path to it.
* | add from_open_file to match libmagic binding featuresetAdam Hupp2017-12-042-0/+17
| |
* | Convert to a package so we can add more filesAdam Hupp2017-12-031-0/+0
|/
* Merge pull request #227 from psrok1/magic-descriptorAdam Hupp2020-12-113-0/+43
|\ | | | | Added support for magic_descriptor routine
| * Added support for magic_descriptor routinepsrok12020-12-073-0/+43
|/