diff --git a/README.md b/README.md index 285b904..5c7fad0 100644 --- a/README.md +++ b/README.md @@ -2,55 +2,6 @@ The UID 2 Project is subject to Tech Lab IPR’s Policy and is managed by the IAB Tech Lab Addressability Working Group and Privacy & Rearc Commit Group. Please review [the governance rules](https://github.com/IABTechLab/uid2-core/blob/master/Software%20Development%20and%20Release%20Procedures.md). -This document includes: -* [Requirements](#requirements) -* [Install](#install) -* [Usage](#usage) -* [Development](#development) -* [Example Usage](#example-usage) - -## Requirements - -This SDK supports Python 3.6 and above. - -## Install - -The SDK can be installed using pip. -``` -pip install uid2-client -``` - ## Usage For documentation on usage, see the [UID2 SDK for Python Reference Guide](https://unifiedid.com/docs/sdks/uid2-sdk-ref-python). - -## Example Usage - - -You can run specific examples: - -``` -python examples/sample_bidstream_client.py BASE_URL=https://operator-integ.uidapi.com AUTH_KEY=my-auth-key SECRET_KEY=my-secret-key - DOMAIN_NAME=domain-name AD_TOKEN=ad-token -``` - -## Development - -First, build the Docker image with Python 3.6 and all dev dependencies. This is required for all subsequent commands. Run the following: - -``` -make docker -``` - -Build a bdist wheel: - -``` -make wheel -``` - -Get access to an interactive shell within the Python 3.6 Docker image: - -``` -make shell -``` -Run unit tests: Use PyCharm to run the test cases \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index b21dd65..bb92e92 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta" [project] name = "uid2_client" -version = "2.4.0" +version = "2.4.6" authors = [ { name = "UID2 team", email = "unifiedid-admin@thetradedesk.com" } ] @@ -18,10 +18,15 @@ classifiers = [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ] +requires-python = ">=3.6" dependencies = [ - "pycryptodome" + "setuptools", + "pycryptodome", + "bitarray" ] - +keywords = ["uid2"] +[project.license] +file="LICENSE" [project.urls] "Homepage" = "https://github.com/IABTechLab/uid2-client-python" "Bug Tracker" = "https://github.com/IABTechLab/uid2-client-python/issues" diff --git a/setup.cfg b/setup.cfg index 030a070..31eb46d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,10 +6,7 @@ home_page = https://iabtechlab.com description = Client for working with advertising UID2 services long_description = file: README.md long_description_content_type = text/markdown -license = Apache 2.0 -license_file = LICENSE platform = any -keywords = uid2 # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers = Development Status :: 3 - Alpha @@ -31,9 +28,6 @@ classifiers = zip_safe = true packages = find: include_package_data = true -python_requires = >= 3.6 -install_requires = - pycryptodome [options.packages.find] exclude = examples, tests