-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
50 lines (47 loc) · 1.62 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
import os
from setuptools import setup, find_packages
VERSION = "0.6.0"
# Ensure the package directory exists
version_file_path = os.path.join(os.path.dirname(__file__), "dikicli", "__version__.py")
with open(version_file_path, "w") as f:
f.write(f'__version__ = "{VERSION}"\n')
setup(
name="dikicli",
version=VERSION,
description="Commandline interface for diki.pl polish-english dictionary",
author="Dawid Zych",
author_email="[email protected]",
license="MIT",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/silenc3r/dikicli",
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Education",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: Polish",
"Operating System :: POSIX",
"Topic :: Education",
],
keywords=["diki", "dictionary"],
packages=find_packages(),
python_requires=">=3.9",
install_requires=[
"beautifulsoup4>=4.8",
],
extras_require={"dev": ["pytest>=7.4.0"]},
entry_points={
"console_scripts": [
"diki=dikicli.__main__:main",
]
},
)