This repository was archived by the owner on May 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
64 lines (50 loc) · 1.6 KB
/
Copy pathsetup.py
File metadata and controls
64 lines (50 loc) · 1.6 KB
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
58
59
60
61
62
63
64
#! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# Interpreter version: python 2.7
#
# Imports =====================================================================
from setuptools import setup
from setuptools import find_packages
from docs import get_version
# Variables ===================================================================
CHANGELOG = open('CHANGES.rst').read()
LONG_DESCRIPTION = "\n\n".join([
open('README.rst').read(),
CHANGELOG
])
# Actual setup definition =====================================================
setup(
name='pyDHTMLParser',
version=get_version(CHANGELOG),
py_modules=['dhtmlparser'],
author='Bystroushaak',
author_email='bystrousak@kitakitsune.org',
url='https://github.com/Bystroushaak/pyDHTMLParser',
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 :: 2.7",
"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",
]
}
)