diff options
| -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/* + |
