-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
55 lines (46 loc) · 1.51 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
# coding: utf-8
"""
Leetcode API
Leetcode API implementation. # noqa: E501
OpenAPI spec version: 1.0.1-1
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import annotations
from setuptools import find_packages, setup # noqa: H301
NAME = "python-leetcode"
VERSION = "1.2.2"
with open("README.md") as readme:
DESCRIPTION: str = readme.read()
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
with open("requirements.txt") as requirements:
REQUIRES = [req.replace("\n", "") for req in requirements.readlines()]
setup(
name=NAME,
version=VERSION,
description="Leetcode API",
author="Pavel Safronov",
author_email="[email protected]",
url="https://github.com/prius/python-leetcode",
keywords=["leetcode", "faang", "interview", "api"],
install_requires=REQUIRES,
packages=find_packages(),
include_package_data=True,
long_description=DESCRIPTION,
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
python_requires=">=3.8",
)