Skip to content

Commit 02ff4a2

Browse files
committed
testing release to test pypi, attempt 6
1 parent 2cccc09 commit 02ff4a2

File tree

4 files changed

+50
-41
lines changed

4 files changed

+50
-41
lines changed

.github/workflows/publish.yaml

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,22 @@ jobs:
1313
- name: Set up Python
1414
uses: actions/setup-python@v1
1515
with:
16-
python-version: "3.7"
17-
- name: Run image
18-
uses: abatilo/actions-poetry@v2.0.0
16+
python-version: 3.7
17+
- name: Install pypa/build
18+
run: >-
19+
python -m
20+
pip install
21+
build
22+
--user
23+
- name: Build a binary wheel and a source tarball
24+
run: >-
25+
python -m
26+
build
27+
--sdist
28+
--wheel
29+
--outdir dist/
30+
- name: Publish distribution 📦 to PyPI
31+
uses: pypa/gh-action-pypi-publish@master
1932
with:
20-
poetry-version: 1.1.2
21-
- name: build and publish
22-
run: |
23-
poetry build
24-
poetry config repositories.testpypi https://test.pypi.org/legacy/
25-
export POETRY_PYPI_TOKEN_PYPI=$PYPI_TOKEN
26-
poetry publish -r testpypi
33+
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
34+
repository_url: https://test.pypi.org/legacy/

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# ScrapingAnt API client for Python

pyproject.toml

Lines changed: 0 additions & 31 deletions
This file was deleted.

setup.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import setuptools
2+
3+
with open("README.md", "r", encoding="utf-8") as fh:
4+
long_description = fh.read()
5+
6+
setuptools.setup(
7+
name="scrapingant-client-python",
8+
version="0.1.1",
9+
author="andrii.kovalenko",
10+
author_email="adrekoval@gmail.com",
11+
license='Apache-2.0',
12+
description="Official python client for the ScrapingAnt API.",
13+
long_description=long_description,
14+
long_description_content_type="text/markdown",
15+
url="https://github.com/ScrapingAnt/scrapingant-client-python",
16+
packages=setuptools.find_packages(),
17+
classifiers=[
18+
"Operating System :: OS Independent",
19+
"Programming Language :: Python :: 3.5",
20+
"Programming Language :: Python :: 3.6",
21+
"Programming Language :: Python :: 3.7",
22+
"Programming Language :: Python :: 3.8",
23+
"Programming Language :: Python :: 3.9",
24+
"Topic :: Software Development :: Libraries :: Python Modules",
25+
"Topic :: Internet :: WWW/HTTP :: Browsers",
26+
"License :: OSI Approved :: Apache Software License",
27+
],
28+
keywords="scrapingant api scraper scraping",
29+
python_requires='~=3.5',
30+
install_requires=['requests~=2.*'],
31+
)

0 commit comments

Comments
 (0)