-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
60 lines (54 loc) · 1.76 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
# -*- coding: utf-8 -*-
"""Sphinx Docs Italia theme"""
import codecs
import json
from setuptools import setup
package_file = codecs.open('package.json', 'r', 'utf-8')
package_data = json.load(package_file)
setup(
name = 'guide_italia_theme',
version = package_data['version'],
license = package_data['license'],
author = 'Vargiu Scuola Srl',
description = __doc__,
long_description = codecs.open('README.md', 'r', 'utf-8').read(),
zip_safe = False,
packages = ['guide_italia_theme', 'guide-italia-theme'],
package_data = {'guide_italia_theme': [
'theme.conf',
'*.html',
'static/css/*.css',
'static/icons/*.*',
'static/js/*.js',
'static/*.png',
'static/*.svg',
'static/font/*.*',
'data/*.*',
]},
include_package_data = True,
# See http://www.sphinx-doc.org/en/stable/theming.html#distribute-your-theme-as-a-python-package
entry_points = {
'sphinx.html_themes': [
'guide_italia_theme = guide_italia_theme'
]
},
classifiers = [
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'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',
'Operating System :: OS Independent',
'Topic :: Documentation',
'Topic :: Software Development :: Documentation'
],
install_requires = [
'PyYAML'
]
)