This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 5037917727 Forgot to delete setup.py (#1197)
5037917727 is described below

commit 5037917727e162062f8d09f6a856c2db506cc897
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sun May 11 16:49:00 2025 +0200

    Forgot to delete setup.py (#1197)
---
 sphinx_airflow_theme/setup.py | 87 -------------------------------------------
 1 file changed, 87 deletions(-)

diff --git a/sphinx_airflow_theme/setup.py b/sphinx_airflow_theme/setup.py
deleted file mode 100644
index 16bf2cae51..0000000000
--- a/sphinx_airflow_theme/setup.py
+++ /dev/null
@@ -1,87 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-import os
-from setuptools import setup
-
-REQUIRED_ADDITIONAL_FILES=[
-    "sphinx_airflow_theme/static/_gen/css/main.min.css",
-    "sphinx_airflow_theme/static/_gen/css/main-custom.min.css",
-    "sphinx_airflow_theme/static/_gen/js/docs.js"
-]
-missing_files = [
-    f
-    for f in REQUIRED_ADDITIONAL_FILES
-    if not os.path.isfile(f)
-]
-if missing_files:
-    raise Exception(
-        "Missing files: {}. You need copy these files from dist of 
website.".format(missing_files)
-    )
-
-with open('README.md', encoding='utf-8') as file:
-    long_description = file.read()
-
-setup(
-    name='sphinx_airflow_theme',
-    url='https://github.com/apache/airflow-site/tree/aip-11',
-    license='Apache License 2.0',
-    author='Apache Software Foundation',
-    author_email='d...@airflow.apache.org',
-    description='Airflow theme for Sphinx',
-    long_description=long_description,
-    long_description_content_type='text/markdown',
-    zip_safe=False,
-    packages=['sphinx_airflow_theme'],
-    package_data={'sphinx_airflow_theme': [
-        'theme.conf',
-        '*.html',
-        'static/_gen/css/*.css',
-        'static/_gen/js/*.js',
-        'static/css/*.css',
-        'static/css/fonts/*.*',
-        'static/js/*.js',
-    ]},
-    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': [
-            'sphinx_airflow_theme = sphinx_airflow_theme',
-        ]
-    },
-    install_requires=[
-        'sphinx>=1.8'
-    ],
-    tests_require=[],
-    extras_require={
-        'dev': [],
-    },
-    classifiers=[
-        'Framework :: Sphinx',
-        'Framework :: Sphinx :: Theme',
-        'License :: OSI Approved :: Apache Software License',
-        'Environment :: Console',
-        'Environment :: Web Environment',
-        'Intended Audience :: Developers',
-        'Programming Language :: Python :: 3.5',
-        'Programming Language :: Python :: 3.6',
-        'Programming Language :: Python :: 3.7',
-        'Operating System :: OS Independent',
-        'Topic :: Documentation',
-        'Topic :: Software Development :: Documentation',
-    ],
-)

Reply via email to