-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
52 lines (49 loc) · 2.03 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
from setuptools import setup, find_packages
from pathlib import Path
path_absolute: Path = Path(__file__).parent.absolute()
with open(f"{path_absolute}/pollinations/__init__.py", "r") as file:
for line in file.readlines():
if line.startswith("__version__"):
version = line.split("=")[1].strip()[1:-1]
break
setup(
name="pollinations",
version=version,
description="pollinations.ai | Free AI Text & Image Generation",
long_description=Path(f"{path_absolute}/README.md").read_text(encoding="utf-8"),
long_description_content_type="text/markdown",
url="https://pollinations.ai/",
author="git.pollinations.ai",
author_email="git.pollinations.ai@gmail.com",
license="MIT",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Development Status :: 4 - Beta",
"Natural Language :: English"
],
packages=find_packages(exclude=("tests",)),
include_package_data=True,
python_requires=">=3.7",
keywords=["pollinations", "pollinations.ai", "pollinations-ai", "pollinations_ai", "ai", "api", "sdk", "wrapper", "free"],
install_requires=[
"chardet",
"aiohttp"
],
project_urls={
"Website": "https://pollinations.ai/",
"Discord": "https://discord.gg/8HqSRhJVxn",
"Github": "https://github.com/pollinations",
"Repository": "https://github.com/pollinations-ai/pollinations.ai",
"YouTube": "https://www.youtube.com/channel/UCk4yKnLnYfyUmCCbDzOZOug",
"Instagram": "https://instagram.com/pollinations_ai",
"Twitter": "https://twitter.com/pollinations_ai",
}
)