-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
39 lines (33 loc) · 1002 Bytes
/
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
import os
from os import path
from setuptools import setup
VERSION = '1.1.1'
DESCRIPTION = (
'Pure python mimesniff implementation of https://mimesniff.spec.whatwg.org'
)
KEYWORDS = [
'mime-type',
'mimesniff'
]
CLASSIFIERS = [
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
]
readme_dir = path.abspath(path.dirname(__file__))
with open(path.join(readme_dir, 'README.rst')) as f:
LONG_DESCRIPTION = f.read()
setup(name='mimesniff',
py_modules = ['mimesniff.mimesniff'],
version=VERSION,
long_description=LONG_DESCRIPTION,
author='Dong-hee Na',
author_email='donghee.na92@gmail.com',
url='https://github.com/corona10/mimesniff',
description=DESCRIPTION,
classifiers=CLASSIFIERS,
python_requires='>=3.4'
)