-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
39 lines (36 loc) · 988 Bytes
/
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
from pathlib import Path
from setuptools import setup, find_packages
def get_version():
with open(Path(__file__).parent / 'tdict/VERSION') as version_file:
return version_file.read().strip()
setup(
name="tdict",
version=get_version(),
author="Tsing Wang",
author_email="[email protected]",
description="Text dictionary for command line",
long_description=open('README.md', 'r').read(),
long_description_content_type='text/markdown',
url="https://github.com/tsingwang/tdict",
packages=find_packages(),
include_package_data=True,
entry_points={
"console_scripts": [
"td = tdict.main:main",
],
},
install_requires=[
"click",
"httpx",
"lxml",
"cssselect",
"SQLAlchemy",
"rich",
"textual",
"playsound3",
],
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
],
)