-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (33 loc) · 1.27 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
from setuptools import setup, find_packages
import os
import sys
with open("requirements.txt") as f:
requirements = f.read().splitlines()
# Install Stanza NLP models required by the scripts
if "install" in sys.argv or "develop" in sys.argv:
os.system("python src/install/install_stanza_model.py")
os.system("python src/install/install_fasttext_model.py")
setup(
name="lutherscripts",
version="0.3.1",
description="Collection of NLP scripts to analyze your UTF-8 Latin text from a textfile",
author="Benjam Bröijer",
author_email="[email protected]",
url="https://github.com/benjamsf/python-latinnlp-scripts", # Replace with your repository URL if available
packages=find_packages(),
package_data={"lutherscripts": ["luther0.gif", "luther1.gif", "luther2.gif"]},
install_requires=requirements,
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Religion",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
],
entry_points={
'console_scripts': [
'lutherscripts = lutherscripts.gui:gui_main',
'lutherscripts-cli = lutherscripts.cli:cli_main',
],
},
)