From 092317e2d8e92846851dc5b4f49a8a2eec41c5dd Mon Sep 17 00:00:00 2001 From: Alexander Luberg Date: Mon, 3 Feb 2020 16:45:37 -0800 Subject: [PATCH] Build and publish sdist artifacts. Fixes #849 --- context/opencensus-context/MANIFEST.in | 3 +++ contrib/opencensus-correlation/MANIFEST.in | 3 +++ contrib/opencensus-ext-azure/MANIFEST.in | 3 +++ contrib/opencensus-ext-datadog/MANIFEST.in | 3 +++ contrib/opencensus-ext-dbapi/MANIFEST.in | 3 +++ contrib/opencensus-ext-django/MANIFEST.in | 3 +++ contrib/opencensus-ext-flask/MANIFEST.in | 3 +++ contrib/opencensus-ext-gevent/MANIFEST.in | 3 +++ contrib/opencensus-ext-google-cloud-clientlibs/MANIFEST.in | 3 +++ contrib/opencensus-ext-grpc/MANIFEST.in | 3 +++ contrib/opencensus-ext-httplib/MANIFEST.in | 3 +++ contrib/opencensus-ext-jaeger/MANIFEST.in | 3 +++ contrib/opencensus-ext-logging/MANIFEST.in | 3 +++ contrib/opencensus-ext-mysql/MANIFEST.in | 3 +++ contrib/opencensus-ext-ocagent/MANIFEST.in | 3 +++ contrib/opencensus-ext-postgresql/MANIFEST.in | 3 +++ contrib/opencensus-ext-prometheus/MANIFEST.in | 3 +++ contrib/opencensus-ext-pymongo/MANIFEST.in | 3 +++ contrib/opencensus-ext-pymysql/MANIFEST.in | 3 +++ contrib/opencensus-ext-pyramid/MANIFEST.in | 3 +++ contrib/opencensus-ext-requests/MANIFEST.in | 3 +++ contrib/opencensus-ext-sqlalchemy/MANIFEST.in | 3 +++ contrib/opencensus-ext-stackdriver/MANIFEST.in | 3 +++ contrib/opencensus-ext-threading/MANIFEST.in | 3 +++ contrib/opencensus-ext-zipkin/MANIFEST.in | 3 +++ scripts/twine_upload.sh | 2 ++ 26 files changed, 77 insertions(+) create mode 100644 context/opencensus-context/MANIFEST.in create mode 100644 contrib/opencensus-correlation/MANIFEST.in create mode 100644 contrib/opencensus-ext-azure/MANIFEST.in create mode 100644 contrib/opencensus-ext-datadog/MANIFEST.in create mode 100644 contrib/opencensus-ext-dbapi/MANIFEST.in create mode 100644 contrib/opencensus-ext-django/MANIFEST.in create mode 100644 contrib/opencensus-ext-flask/MANIFEST.in create mode 100644 contrib/opencensus-ext-gevent/MANIFEST.in create mode 100644 contrib/opencensus-ext-google-cloud-clientlibs/MANIFEST.in create mode 100644 contrib/opencensus-ext-grpc/MANIFEST.in create mode 100644 contrib/opencensus-ext-httplib/MANIFEST.in create mode 100644 contrib/opencensus-ext-jaeger/MANIFEST.in create mode 100644 contrib/opencensus-ext-logging/MANIFEST.in create mode 100644 contrib/opencensus-ext-mysql/MANIFEST.in create mode 100644 contrib/opencensus-ext-ocagent/MANIFEST.in create mode 100644 contrib/opencensus-ext-postgresql/MANIFEST.in create mode 100644 contrib/opencensus-ext-prometheus/MANIFEST.in create mode 100644 contrib/opencensus-ext-pymongo/MANIFEST.in create mode 100644 contrib/opencensus-ext-pymysql/MANIFEST.in create mode 100644 contrib/opencensus-ext-pyramid/MANIFEST.in create mode 100644 contrib/opencensus-ext-requests/MANIFEST.in create mode 100644 contrib/opencensus-ext-sqlalchemy/MANIFEST.in create mode 100644 contrib/opencensus-ext-stackdriver/MANIFEST.in create mode 100644 contrib/opencensus-ext-threading/MANIFEST.in create mode 100644 contrib/opencensus-ext-zipkin/MANIFEST.in diff --git a/context/opencensus-context/MANIFEST.in b/context/opencensus-context/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/context/opencensus-context/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-correlation/MANIFEST.in b/contrib/opencensus-correlation/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-correlation/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-azure/MANIFEST.in b/contrib/opencensus-ext-azure/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-azure/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-datadog/MANIFEST.in b/contrib/opencensus-ext-datadog/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-datadog/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-dbapi/MANIFEST.in b/contrib/opencensus-ext-dbapi/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-dbapi/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-django/MANIFEST.in b/contrib/opencensus-ext-django/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-django/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-flask/MANIFEST.in b/contrib/opencensus-ext-flask/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-flask/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-gevent/MANIFEST.in b/contrib/opencensus-ext-gevent/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-gevent/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-google-cloud-clientlibs/MANIFEST.in b/contrib/opencensus-ext-google-cloud-clientlibs/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-google-cloud-clientlibs/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-grpc/MANIFEST.in b/contrib/opencensus-ext-grpc/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-grpc/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-httplib/MANIFEST.in b/contrib/opencensus-ext-httplib/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-httplib/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-jaeger/MANIFEST.in b/contrib/opencensus-ext-jaeger/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-jaeger/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-logging/MANIFEST.in b/contrib/opencensus-ext-logging/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-logging/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-mysql/MANIFEST.in b/contrib/opencensus-ext-mysql/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-mysql/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-ocagent/MANIFEST.in b/contrib/opencensus-ext-ocagent/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-ocagent/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-postgresql/MANIFEST.in b/contrib/opencensus-ext-postgresql/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-postgresql/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-prometheus/MANIFEST.in b/contrib/opencensus-ext-prometheus/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-prometheus/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-pymongo/MANIFEST.in b/contrib/opencensus-ext-pymongo/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-pymongo/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-pymysql/MANIFEST.in b/contrib/opencensus-ext-pymysql/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-pymysql/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-pyramid/MANIFEST.in b/contrib/opencensus-ext-pyramid/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-pyramid/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-requests/MANIFEST.in b/contrib/opencensus-ext-requests/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-requests/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-sqlalchemy/MANIFEST.in b/contrib/opencensus-ext-sqlalchemy/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-sqlalchemy/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-stackdriver/MANIFEST.in b/contrib/opencensus-ext-stackdriver/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-stackdriver/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-threading/MANIFEST.in b/contrib/opencensus-ext-threading/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-threading/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/contrib/opencensus-ext-zipkin/MANIFEST.in b/contrib/opencensus-ext-zipkin/MANIFEST.in new file mode 100644 index 000000000..aea5624be --- /dev/null +++ b/contrib/opencensus-ext-zipkin/MANIFEST.in @@ -0,0 +1,3 @@ +include README.rst +include version.py +global-exclude *.pyc diff --git a/scripts/twine_upload.sh b/scripts/twine_upload.sh index b505a5bb5..6c54ca0df 100755 --- a/scripts/twine_upload.sh +++ b/scripts/twine_upload.sh @@ -30,11 +30,13 @@ echo -e "password = $PYPI_PASSWORD" >> ~/.pypirc python3 -m pip install --upgrade twine wheel setuptools # Build the distributions. +python3 setup.py sdist python3 setup.py bdist_wheel for d in context/*/ contrib/*/ ; do pushd . cd "$d" + python3 setup.py sdist --dist-dir "$BASEDIR/dist/" python3 setup.py bdist_wheel --dist-dir "$BASEDIR/dist/" popd done