-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
77 lines (71 loc) · 2.52 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
from setuptools import setup, find_packages
import os.path as _op
NAME = 'html5.py'
# can be rst: maybe should use same text as README.rst?
with open(_op.join(_op.abspath(_op.dirname(__file__)), 'README.rst')) as f:
LONGDESCRIPTION = f.read()
# below gleaned from https://pypi.python.org/pypi?%3Aaction=list_classifiers
# maybe some are redundant or inaccurate?
CLASSIFIERS = """Development Status :: 2 - Pre-Alpha
Environment :: Console
Environment :: Web Environment
Intended Audience :: Developers
Intended Audience :: Education
Intended Audience :: End Users/Desktop
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved
License :: OSI Approved :: MIT License
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.1
Programming Language :: Python :: 3.2
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Topic :: Documentation
Topic :: Internet
Topic :: Internet :: WWW/HTTP
Topic :: Internet :: WWW/HTTP :: Browsers
Topic :: Internet :: WWW/HTTP :: Dynamic Content
Topic :: Internet :: WWW/HTTP :: Indexing/Search
Topic :: Internet :: WWW/HTTP :: Site Management
Topic :: Software Development
Topic :: Software Development :: Build Tools
Topic :: Software Development :: Code Generators
Topic :: Software Development :: Documentation
Topic :: Software Development :: Libraries
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Software Development :: Pre-processors
Topic :: Text Editors
Topic :: Text Editors :: Text Processing
Topic :: Text Processing
Topic :: Text Processing :: Markup
Topic :: Text Processing :: Markup :: HTML
Topic :: Utilities""".splitlines()
PACKAGES = ['html5'] # find_packages(where='html5')
print(PACKAGES)
NAME = 'Aaron Hall'
EMAIL = 'aaronchall@yahoo.com'
KEYWORDS = ['HTML5', 'Documentation', 'library']
VERSION = open(_op.join(_op.abspath(_op.dirname(__file__)), 'html5', 'VERSION')).read()
print(VERSION)
setup(
name=NAME,
version=open('html5/VERSION').read().strip(),
description='HTML5 library',
author=NAME,
author_email=EMAIL,
maintainer=NAME,
maintainer_email=EMAIL,
url='http://www.github.com/aaronchall/html5.py',
long_description=LONGDESCRIPTION,
classifiers=CLASSIFIERS,
install_requires=[],
zip_safe=True
)