-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
56 lines (42 loc) · 1.26 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
#! /usr/bin/env python3
from setuptools import setup
from setuptools import find_packages
from docs import get_version
CHANGELOG = open('CHANGES.rst').read()
LONG_DESCRIPTION = "\n\n".join([
open('README.rst').read(),
CHANGELOG
])
setup(
name='DHTMLParser3',
version=get_version(CHANGELOG),
py_modules=['dhtmlparser3'],
author='Bystroushaak',
author_email='[email protected]',
url='https://github.com/Bystroushaak/DHTMLParser3',
license='MIT',
description='Python HTML/XML parser for easy web scraping.',
long_description=LONG_DESCRIPTION,
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Markup :: HTML",
"Topic :: Text Processing :: Markup :: XML"
],
extras_require={
"test": [
"pytest",
"pytest-cov",
],
"docs": [
"sphinx",
"sphinxcontrib-napoleon",
]
}
)