Skip to content

Commit fca071d

Browse files
committed
bump to 0.4.20
1 parent 3ebdb93 commit fca071d

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Changes in 0.4.19
1+
Changes to 0.4.20
22

33
- merge in a compatability layer for the upstream libmagic python binding.
44
Since both this package and that one are called 'magic', this compat layer

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33

4-
from setuptools import setup
4+
import setuptools
55
import io
66
import os
77

@@ -12,16 +12,16 @@ def read(file_name):
1212
encoding='utf-8') as f:
1313
return f.read()
1414

15-
setup(
15+
setuptools.setup(
1616
name='python-magic',
1717
description='File type identification using libmagic',
1818
author='Adam Hupp',
1919
author_email='[email protected]',
2020
url="http://github.com/ahupp/python-magic",
21-
version='0.4.19',
22-
py_modules=['magic'],
21+
version='0.4.20',
2322
long_description=read('README.md'),
2423
long_description_content_type='text/markdown',
24+
packages=setuptools.find_packages(),
2525
keywords="mime magic file",
2626
license="MIT",
2727
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',

upload.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
#!/bin/sh
22

3-
python setup.py sdist bdist_wheel upload
3+
python3 setup.py clean --all
4+
python3 setup.py sdist bdist_wheel
5+
#python3 -m twine upload dist/*
6+

0 commit comments

Comments
 (0)