-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
65 lines (53 loc) · 1.79 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#
import pip
pip.main(['install', 'python-dotenv'])
import os
import pathlib
from setuptools import setup
from dotenv import load_dotenv
# The directory containing this file
HERE = pathlib.Path(__file__).parent.parent.parent
print(sorted(HERE.iterdir()))
# The text of the README file
README = (HERE / "readme.md").read_text()
load_dotenv(HERE / ".env")
VERSION = os.getenv("VERSION") # use version declared in top level .env file
setup(
name='airbyte_protocol_models',
version=VERSION,
description="Declares the Airbyte Protocol.",
long_description=README,
long_description_content_type="text/markdown",
author="Airbyte",
author_email="[email protected]",
license="MIT",
url="https://github.com/airbytehq/airbyte-protocol",
classifiers=[
# This information is used when browsing on PyPi.
# Dev Status
"Development Status :: 3 - Alpha",
# Project Audience
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
# Python Version Support
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.8",
],
keywords="airbyte airbyte-protocol",
project_urls={
"Documentation": "https://docs.airbyte.io/",
"Source": "https://github.com/airbytehq/airbyte-protocol",
"Tracker": "https://github.com/airbytehq/airbyte-protocol/issues",
},
packages=['airbyte_protocol.models'],
package_data={"airbyte_protocol": ["py.typed"]},
setup_requires=['python-dotenv'],
install_requires=[
"pydantic>=1.9.2,<2.0.0",
],
python_requires=">=3.8",
)