-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (34 loc) · 1.1 KB
/
setup.py
File metadata and controls
39 lines (34 loc) · 1.1 KB
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
# coding: utf-8
import os
from setuptools import setup, find_packages # noqa: F401
NAME = "justserpapi"
VERSION = "1.0.0"
# Get the version from __init__.py
with open(os.path.join(os.path.dirname(__file__), 'justserpapi', '__init__.py')) as f:
for line in f:
if line.startswith('__version__ ='):
VERSION = line.split('=')[1].strip().strip('"').strip("'")
break
PYTHON_REQUIRES = ">= 3.9"
REQUIRES = [
"urllib3 >= 2.1.0, < 3.0.0",
"python-dateutil >= 2.8.2",
"pydantic >= 2",
"typing-extensions >= 4.7.1",
]
setup(
name=NAME,
version=VERSION,
description="Professional Python SDK for JustSerpAPI",
author="JustSerpAPI Team",
author_email="support@justserpapi.com",
url="https://api.justserpapi.com",
keywords=["OpenAPI", "OpenAPI-Generator", "JustSerpAPI", "SERP"],
install_requires=REQUIRES,
packages=find_packages(exclude=["test", "tests"]),
include_package_data=True,
license="MIT",
long_description_content_type='text/markdown',
long_description=open("README.md").read(),
python_requires=PYTHON_REQUIRES,
)