Skip to content

Commit 1b5ca49

Browse files
msumitkaxilpotiuk
authored
Update links in PyPi (#14)
Co-authored-by: Kaxil Naik <[email protected]> Co-authored-by: Jarek Potiuk <[email protected]>
1 parent b2c0e2e commit 1b5ca49

File tree

2 files changed

+22
-18
lines changed

2 files changed

+22
-18
lines changed

setup.cfg

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,22 @@
1717

1818
[flake8]
1919
max-line-length=99
20+
21+
[metadata]
22+
name = apache-airflow-client
23+
description = Apache Airflow API (Stable)
24+
author = Apache Software Foundation
25+
author_email = [email protected]
26+
url = https://airflow.apache.org/
27+
long_description = file: README.md
28+
long_description_content_type = text/markdown
29+
license = Apache License 2.0
30+
project_urls =
31+
Documentation=https://airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html
32+
Bug Tracker=https://github.com/apache/airflow-client-python/issues
33+
Source Code=https://github.com/apache/airflow-client-python
34+
35+
[options]
36+
zip_safe = False
37+
include_package_data = True
38+
python_requires = ~=3.6

setup.py

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,10 @@
2323
Generated by: https://openapi-generator.tech
2424
"""
2525

26-
from os import path
2726
from setuptools import setup, find_packages # noqa: H301
2827

2928

30-
NAME = "apache-airflow-client"
31-
VERSION = "1.0.0"
29+
VERSION = "2.1.0.dev"
3230
# To install the library, run the following
3331
#
3432
# python setup.py install
@@ -41,23 +39,10 @@
4139
"python-dateutil",
4240
]
4341

44-
THIS_DIR = path.abspath(path.dirname(__file__))
45-
with open(path.join(THIS_DIR, 'README.md'), encoding='utf-8') as f:
46-
LONG_DESC = f.read()
47-
4842
setup(
49-
name=NAME,
5043
version=VERSION,
51-
description="Apache Airflow API (Stable)",
52-
author="Apache Software Foundation",
53-
author_email="[email protected]",
54-
url="https://airflow.apache.org/",
5544
keywords=["OpenAPI", "OpenAPI-Generator", "Apache Airflow API (Stable)"],
56-
python_requires=">=3.6",
45+
download_url=('https://archive.apache.org/dist/airflow/clients/python/' + VERSION),
5746
install_requires=REQUIRES,
58-
packages=find_packages(exclude=["test", "tests"]),
59-
include_package_data=True,
60-
license="Apache License 2.0",
61-
long_description=LONG_DESC,
62-
long_description_content_type="text/markdown"
47+
packages=find_packages(exclude=["test", "tests"])
6348
)

0 commit comments

Comments
 (0)