-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
42 lines (37 loc) · 1.34 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
import pathlib
from setuptools import setup, find_packages
# The directory containing this file
LOCAL_PATH = pathlib.Path(__file__).parent
# The text of the README file
README_FILE = (LOCAL_PATH / "README.md").read_text()
# Load requirements, so they are listed in a single place
with open("requirements.txt") as fp:
install_requires = [dep.strip() for dep in fp.readlines()]
# This call to setup() does all the work
setup(
name="lpngram",
version="0.1.1",
description="Python libary for ngram collection and frequency smoothing",
long_description=README_FILE,
long_description_content_type="text/markdown",
url="https://github.com/lingpy/lpngram",
author="Tiago Tresoldi; Johann-Mattis List",
author_email="[email protected]",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
],
packages=find_packages(where="src"),
package_dir={"": "src"},
python_requires=">=3.6",
keywords=["ngram", "markov", "smoothing"],
include_package_data=True,
install_requires=install_requires,
entry_points={"console_scripts": ["lpngram=lpngram.__main__:main"]},
test_suite="tests",
tests_require=[],
zip_safe=False,
)