-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
54 lines (48 loc) · 1.84 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
#!/usr/local/bin/python
# -*- coding: utf-8 -*-
import re
from codecs import open
from os import path
from setuptools import setup
here = path.abspath(path.dirname(__file__))
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
with open(path.join(here, "ety/__init__.py"), encoding="utf8") as f:
version = re.search(r'__version__ = "(.*?)"', f.read()).group(1)
setup(
name="ety",
version=version,
description="discover the etymology of words",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/jmsv/ety-python",
author="James Vickery",
author_email="dev@jmsv.me",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4",
keywords="etymology origins english language words",
packages=["ety", "ety/data"],
install_requires=["treelib", "colorful", "six"],
extras_require={"dev": ["flake8"]},
package_data={
"ety": ["data/etymologies.json", "data/iso-639-3.json", "data/iso-639-2.json"]
},
entry_points={"console_scripts": ["ety=ety:cli"]},
project_urls={
"Source": "https://github.com/jmsv/ety-python",
"Bug Reports": "https://github.com/jmsv/ety-python/issues",
},
)