Skip to content

Commit

Permalink
use extras for CDK development and remove python 3.10 support (#3200)
Browse files Browse the repository at this point in the history
  • Loading branch information
sherifnada committed May 4, 2021
1 parent f55429c commit dd45537
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 25 deletions.
12 changes: 12 additions & 0 deletions airbyte-cdk/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,15 @@ Find the reference docs for the Airbyte Specification (the interface for how sou
**Simple Python connectors using the barebones `Source` abstraction**:
* [Google Sheets](https://github.com/airbytehq/airbyte/blob/master/airbyte-integrations/connectors/source-google-sheets/google_sheets_source/google_sheets_source.py)
* [Mailchimp](https://github.com/airbytehq/airbyte/blob/master/airbyte-integrations/connectors/source-mailchimp/source_mailchimp/source.py)

## Contributing

### First time setup
We assume `python` points to python >=3.7.

Setup a virtual env:
```
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]" # [dev] installs development-only dependencies
```
1 change: 0 additions & 1 deletion airbyte-cdk/python/requirements.txt

This file was deleted.

52 changes: 28 additions & 24 deletions airbyte-cdk/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,42 +41,46 @@
license="MIT",
url="https://github.com/airbytehq/airbyte",
classifiers=[
# This information is used when browsing on PyPi.
# This information is used when browsing on PyPi.

# Dev Status
'Development Status :: 3 - Alpha',
# Dev Status
'Development Status :: 3 - Alpha',

# Project Audience
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering',
'Topic :: Software Development :: Libraries :: Python Modules',
# Project Audience
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering',
'Topic :: Software Development :: Libraries :: Python Modules',

'License :: OSI Approved :: MIT License',
'License :: OSI Approved :: MIT License',

# Python Version Support
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9'

# Python Version Support
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
keywords='airbyte connectors-development-kit cdk',
project_urls={
'Documentation': 'https://docs.airbyte.io/',
'Source': 'https://github.com/airbytehq/airbyte',
'Tracker': 'https://github.com/airbytehq/airbyte/issues',
'Documentation': 'https://docs.airbyte.io/',
'Source': 'https://github.com/airbytehq/airbyte',
'Tracker': 'https://github.com/airbytehq/airbyte/issues',
},
packages=find_packages(exclude=("unit_tests",)),
install_requires=[
"backoff",
"jsonschema==2.6.0",
"pendulum",
"pydantic==1.6.1",
"pytest",
"PyYAML==5.4",
"requests",
"backoff",
"jsonschema==2.6.0",
"pendulum",
"pydantic==1.6.1",
"PyYAML==5.4",
"requests",
],
python_requires='>=3.7.9',
extras={
"dev": [
"pytest",
]
},
entry_points={
"console_scripts": ["base-python=base_python.entrypoint:main"],
"console_scripts": ["base-python=base_python.entrypoint:main"],
},
)

0 comments on commit dd45537

Please sign in to comment.