diff options
author | Adam Hupp <adam@hupp.org> | 2021-01-15 16:34:09 -0800 |
---|---|---|
committer | Adam Hupp <adam@hupp.org> | 2021-01-15 16:34:09 -0800 |
commit | fca071d6a4ee04fca4cafacd7041a76a32cc1a8d (patch) | |
tree | 77e265e048267c176a7e83a06ab6093692dfc8cb | |
parent | 3ebdb93cbe5ded066c23b0555f509610287b4ffb (diff) | |
download | python-magic-fca071d6a4ee04fca4cafacd7041a76a32cc1a8d.tar.gz |
bump to 0.4.20
-rw-r--r-- | CHANGELOG | 2 | ||||
-rw-r--r-- | setup.py | 8 | ||||
-rw-r--r-- | upload.sh | 5 |
3 files changed, 9 insertions, 6 deletions
@@ -1,4 +1,4 @@ -Changes in 0.4.19 +Changes to 0.4.20 - merge in a compatability layer for the upstream libmagic python binding. Since both this package and that one are called 'magic', this compat layer @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -from setuptools import setup +import setuptools import io import os @@ -12,16 +12,16 @@ def read(file_name): encoding='utf-8') as f: return f.read() -setup( +setuptools.setup( name='python-magic', description='File type identification using libmagic', author='Adam Hupp', author_email='adam@hupp.org', url="http://github.com/ahupp/python-magic", - version='0.4.19', - py_modules=['magic'], + version='0.4.20', long_description=read('README.md'), long_description_content_type='text/markdown', + packages=setuptools.find_packages(), keywords="mime magic file", license="MIT", python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*', @@ -1,3 +1,6 @@ #!/bin/sh -python setup.py sdist bdist_wheel upload +python3 setup.py clean --all +python3 setup.py sdist bdist_wheel +#python3 -m twine upload dist/* + |