You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ms...@apache.org on 2021/04/25 10:29:05 UTC
[airflow-client-python] branch master updated: Update links in PyPi
(#14)
This is an automated email from the ASF dual-hosted git repository.
msumit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow-client-python.git
The following commit(s) were added to refs/heads/master by this push:
new 1b5ca49 Update links in PyPi (#14)
1b5ca49 is described below
commit 1b5ca49ff8cc80c3c04805e888a3d691ce002b4f
Author: Sumit Maheshwari <ms...@users.noreply.github.com>
AuthorDate: Sun Apr 25 15:58:56 2021 +0530
Update links in PyPi (#14)
Co-authored-by: Kaxil Naik <ka...@gmail.com>
Co-authored-by: Jarek Potiuk <ja...@potiuk.com>
---
setup.cfg | 19 +++++++++++++++++++
setup.py | 21 +++------------------
2 files changed, 22 insertions(+), 18 deletions(-)
diff --git a/setup.cfg b/setup.cfg
index e0227eb..c6ebeea 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -17,3 +17,22 @@
[flake8]
max-line-length=99
+
+[metadata]
+name = apache-airflow-client
+description = Apache Airflow API (Stable)
+author = Apache Software Foundation
+author_email = dev@airflow.apache.org
+url = https://airflow.apache.org/
+long_description = file: README.md
+long_description_content_type = text/markdown
+license = Apache License 2.0
+project_urls =
+ Documentation=https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html
+ Bug Tracker=https://github.com/apache/airflow-client-python/issues
+ Source Code=https://github.com/apache/airflow-client-python
+
+[options]
+zip_safe = False
+include_package_data = True
+python_requires = ~=3.6
diff --git a/setup.py b/setup.py
index 26d1bbd..9490efb 100644
--- a/setup.py
+++ b/setup.py
@@ -23,12 +23,10 @@
Generated by: https://openapi-generator.tech
"""
-from os import path
from setuptools import setup, find_packages # noqa: H301
-NAME = "apache-airflow-client"
-VERSION = "1.0.0"
+VERSION = "2.1.0.dev"
# To install the library, run the following
#
# python setup.py install
@@ -41,23 +39,10 @@ REQUIRES = [
"python-dateutil",
]
-THIS_DIR = path.abspath(path.dirname(__file__))
-with open(path.join(THIS_DIR, 'README.md'), encoding='utf-8') as f:
- LONG_DESC = f.read()
-
setup(
- name=NAME,
version=VERSION,
- description="Apache Airflow API (Stable)",
- author="Apache Software Foundation",
- author_email="dev@airflow.apache.org",
- url="https://airflow.apache.org/",
keywords=["OpenAPI", "OpenAPI-Generator", "Apache Airflow API (Stable)"],
- python_requires=">=3.6",
+ download_url=('https://archive.apache.org/dist/airflow/clients/python/' + VERSION),
install_requires=REQUIRES,
- packages=find_packages(exclude=["test", "tests"]),
- include_package_data=True,
- license="Apache License 2.0",
- long_description=LONG_DESC,
- long_description_content_type="text/markdown"
+ packages=find_packages(exclude=["test", "tests"])
)