-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
35 lines (32 loc) · 1.12 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
from setuptools import setup, find_packages
import re
import os
def get_version(package):
with open(os.path.join(package, "__init__.py")) as f:
return re.search("__version__ = ['\"]([^'\"]+)['\"]", f.read()).group(1)
def get_long_description():
with open("README.md", encoding="utf8") as f:
return f.read()
setup(
name="plusportals",
version=get_version("plusportals"),
url="https://github.com/DhruvBisla/PlusPortalsAPI",
license="MIT",
author="Dhruv Bisla",
author_email="[email protected]",
description="A reverse engineered API PlusPortals",
long_description=get_long_description(),
long_description_content_type="text/markdown",
packages=find_packages(),
keywords=['api', 'reverse-engineered', 'plusportals', 'plusportalsapi'],
classifiers=[
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
requires = ['requests','lxml'],
install_requires=['requests','lxml'],
zip_safe=False,
)