8000 prepare utils for pypi distribution (#5848) · nanduahmed/python-docs-samples@23f7dba · GitHub
[go: up one dir, main page]

Skip to content

Commit 23f7dba

Browse files
authored
prepare utils for pypi distribution (GoogleCloudPlatform#5848)
* prepare utils for pypi distribution * address setup.py nits
1 parent 34263df commit 23f7dba

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

composer/dag_test_utils/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This package is used internally to unit test the validity of all Cloud Composer
66

77
Add the following to your `requirements-test.txt` file:
88

9-
`git+https://github.com/GoogleCloudPlatform/python-docs-samples.git#egg=dag_test_utils&subdirectory=composer/dag_test_utils`
9+
`cloud_composer_dag_test_utils`
1010

1111
Import the internal unit testing module
1212

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["setuptools", "wheel"]
3+
build-backend = "setuptools.build_meta"

composer/dag_test_utils/setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
from setuptools import setup
1717

1818
setup(
19-
name="dag_test_utils",
19+
name="cloud_composer_dag_test_utils",
2020
version="0.0.1",
21-
url="git@github.com:GoogleCloudPlatform/python-docs-samples.git#egg=dag_test_utils&subdirectory=composer/dag_test_utils",
22-
author="Google Cloud Platform",
23-
description="Utility used to unit test example Apache Airflow DAGs",
21+
url="https://github.com/GoogleCloudPlatform/python-docs-samples/tree/master/composer/dag_test_utils",
22+
author="Google LLC",
23+
description="Utility used to unit test example Apache Airflow DAGs for Google Cloud Composer. This is not an officially supported Google product.",
2424
packages=find_packages(),
2525
py_modules=['internal_unit_testing'],
26-
install_requires=['apache-airflow[gcp]']
26+
install_requires=['apache-airflow[google]==1.10.15']
2727
)

0 commit comments

Comments
 (0)
0