forked from h2non/filetype.py
/
setup.py
57 lines (52 loc) · 1.67 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
# To use a consistent encoding
description = ('Infer file type and MIME type of any file/buffer. '
'No libmagic dependency.')
config = {
'name': 'filetype',
'description': description,
'author': 'Tomas Aparicio',
'author_email': 'tomas@aparicio.me',
'url': 'https://github.com/h2non/filetype.py',
'download_url': 'https://github.com/h2non/filetype.py/tarball/master',
'version': '0.1.6',
'license': 'MIT',
'packages': find_packages(exclude=['dist', 'build', 'docs', 'tests']),
'package_data': {
'filetype': ['LICENSE', '*.md'],
},
'keywords': [
'file',
'libmagic',
'magic',
'infer',
'numbers',
'magicnumbers',
'discovery',
'mime',
'type',
'kind',
],
'classifiers': [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: System',
'Topic :: System :: Filesystems',
'Topic :: Utilities',
'Operating System :: OS Independent'
],
}
setup(**config)