diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ec80261..cab09fd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,3 +47,23 @@ jobs: env: TD_API_KEY: 1/XXX TD_API_SERVER: https://api.treasure-data.com/ + + dist-dry-run: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Python + uses: actions/setup-python@v1 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install setuptools wheel twine + - name: Build and check dist for PiPY (a.k.a dry run) + run: | + python setup.py sdist bdist_wheel + twine check dist/* + diff --git a/README.rst b/README.rst index a458d81..ba72b08 100644 --- a/README.rst +++ b/README.rst @@ -131,19 +131,19 @@ data to Treasure Data: Characteristics of each of these methods can be summarized as follows: -+-----------------------------------+------------------+------------------+-----------+ ++-----------------------------------+------------------+------------------+---------------------------------+ | | ``bulk_import`` | ``insert_into`` | ``spark (No longer available)`` | -+===================================+==================+==================+===========+ -| Scalable against data volume | ✓ | | ✓ | -+-----------------------------------+------------------+------------------+-----------+ -| Write performance for larger data | | | ✓ | -+-----------------------------------+------------------+------------------+-----------+ -| Memory efficient | ✓ | ✓ | | -+-----------------------------------+------------------+------------------+-----------+ -| Disk efficient | | ✓ | | -+-----------------------------------+------------------+------------------+-----------+ -| Minimal package dependency | ✓ | ✓ | | -+-----------------------------------+------------------+------------------+-----------+ ++===================================+==================+==================+=================================+ +| Scalable against data volume | ✓ | | ✓ | ++-----------------------------------+------------------+------------------+---------------------------------+ +| Write performance for larger data | | | ✓ | ++-----------------------------------+------------------+------------------+---------------------------------+ +| Memory efficient | ✓ | ✓ | | ++-----------------------------------+------------------+------------------+---------------------------------+ +| Disk efficient | | ✓ | | ++-----------------------------------+------------------+------------------+---------------------------------+ +| Minimal package dependency | ✓ | ✓ | | ++-----------------------------------+------------------+------------------+---------------------------------+ Enabling Spark Writer ^^^^^^^^^^^^^^^^^^^^^ diff --git a/setup.cfg b/setup.cfg index d1edf25..a2a5644 100644 --- a/setup.cfg +++ b/setup.cfg @@ -10,6 +10,7 @@ license = Apache License 2.0 license_files = LICENSE long_description = file: README.rst +long_description_content_type = text/x-rst url = https://github.com/treasure-data/pytd classifiers = Development Status :: 5 - Production/Stable