-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
71 lines (66 loc) · 2.04 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
66
67
68
69
70
71
"""Setup script for package
References:
- https://github.com/openai/openai-python/blob/main/setup.cfg
"""
from glob import glob
from os.path import basename, splitext
from pathlib import Path
from setuptools import find_packages, setup
VERSION = "1.1.6"
DESCRIPTION = "Simple python wrapper for alfred5 workflow / snippets"
README_PATH = "docs/README.md"
USERNAME = "yedhrab"
REPOSITORY = "alfred5"
KEYWORDS = [
"alfred",
"alfred5",
"workflow",
"snippets",
"alfred-workflows",
"alfred-snippets",
]
INSTALL_REQUIRES = ["aiohttp==3.8.4", "PyYAML==6.0"]
EXSTRAS_REQUIRE = {
"dev": [
"black==23.3.0",
"autoflake==2.0.2",
"pytest==7.3.0",
"pytest-asyncio==0.21.0",
]
}
setup(
name=REPOSITORY,
version=VERSION,
license="Apache Software License 2.0",
description=DESCRIPTION,
long_description=Path(README_PATH).read_text(encoding="utf-8"),
long_description_content_type="text/markdown",
author="Yunus Emre Ak",
author_email="yemreak.com@gmail.com",
url=f"https://github.com/{USERNAME}/{REPOSITORY}",
packages=find_packages(),
py_modules=[splitext(basename(path))[0] for path in glob(f"*.py")],
include_package_data=True,
zip_safe=False,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Utilities",
],
project_urls={
"Source": f"https://github.com/{USERNAME}/{REPOSITORY}/",
"Changelog": f"https://github.com/{USERNAME}/{REPOSITORY}/releases",
"Issue Tracker": f"https://github.com/{USERNAME}/{REPOSITORY}/issues",
},
keywords=KEYWORDS,
python_requires=">=3.9.6",
install_requires=INSTALL_REQUIRES,
extras_require=EXSTRAS_REQUIRE,
setup_requires=[],
entry_points={},
)