@@ -93,4 +93,60 @@ def run(self):
9393 'build_assets' : WebpackBuildCommand ,
9494 'watch' : WebpackDevelopCommand ,
9595 },
96+ zip_safe = False ,
97+ packages = ['sphinx_rtd_theme' ],
98+ package_data = {'sphinx_rtd_theme' : [
99+ 'theme.conf' ,
100+ '*.html' ,
101+ 'static/css/*.css' ,
102+ 'static/css/fonts/*.*' ,
103+ 'static/js/*.js' ,
104+ ]},
105+ include_package_data = True ,
106+ # See http://www.sphinx-doc.org/en/stable/theming.html#distribute-your-theme-as-a-python-package
107+ entry_points = {
108+ 'sphinx.html_themes' : [
109+ 'sphinx_rtd_theme = sphinx_rtd_theme' ,
110+ ]
111+ },
112+ python_requires = '>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*' ,
113+ install_requires = [
114+ 'sphinx>=1.6' ,
115+ 'docutils<0.18' ,
116+ 'Jinja2<3.1' ,
117+ ],
118+ tests_require = [
119+ 'pytest' ,
120+ ],
121+ extras_require = {
122+ 'dev' : [
123+ 'transifex-client' ,
124+ 'sphinxcontrib-httpdomain' ,
125+ 'bump2version' ,
126+ 'wheel' ,
127+ ],
128+ },
129+ classifiers = [
130+ 'Framework :: Sphinx' ,
131+ 'Framework :: Sphinx :: Theme' ,
132+ 'Development Status :: 5 - Production/Stable' ,
133+ 'License :: OSI Approved :: MIT License' ,
134+ 'Environment :: Console' ,
135+ 'Environment :: Web Environment' ,
136+ 'Intended Audience :: Developers' ,
137+ 'Programming Language :: Python :: 2.7' ,
138+ 'Programming Language :: Python :: 3' ,
139+ 'Programming Language :: Python :: 3.6' ,
140+ 'Programming Language :: Python :: 3.7' ,
141+ 'Programming Language :: Python :: 3.8' ,
142+ 'Programming Language :: Python :: 3.9' ,
143+ 'Operating System :: OS Independent' ,
144+ 'Topic :: Documentation' ,
145+ 'Topic :: Software Development :: Documentation' ,
146+ ],
147+ project_urls = {
148+ 'Homepage' : 'https://sphinx-rtd-theme.readthedocs.io/' ,
149+ 'Source Code' : 'https://github.com/readthedocs/sphinx_rtd_theme' ,
150+ 'Issue Tracker' : 'https://github.com/readthedocs/sphinx_rtd_theme/issues' ,
151+ },
96152)
0 commit comments