You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2025/05/11 14:46:52 UTC
(airflow-site) branch delete-setup-py created (now 7f289fb8ba)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a change to branch delete-setup-py
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
at 7f289fb8ba Forgot to delete setup.py
This branch includes the following new commits:
new 7f289fb8ba Forgot to delete setup.py
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(airflow-site) 01/01: Forgot to delete setup.py
Posted by po...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch delete-setup-py
in repository https://gitbox.apache.org/repos/asf/airflow-site.git
commit 7f289fb8baa9cabb875d9ab674fcbd22a8c2a0e5
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Sun May 11 16:46:31 2025 +0200
Forgot to delete setup.py
---
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='dev@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',
- ],
-)