-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (42 loc) · 1.4 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
import setuptools
import os
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
def package_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.abspath(os.path.join('', path, filename)))
return paths
extra_files = package_files('src/srbai/Resursi')
setuptools.setup(
name="SrbAI",
version="0.0.19",
author="Serbian AI Society",
author_email="[email protected]",
description="Library for processing serbian language",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Serbian-AI-Society/SrbAI",
project_urls={
"Bug Tracker": "https://github.com/Serbian-AI-Society/SrbAI/issues",
"Road Map":"https://github.com/Serbian-AI-Society/SrbAI/projects/1"
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
],
install_requires=[
"numpy",
"nltk",
"torch>=1.10.2",
"classla==1.1.0",
"nlu"
],
package_dir={"": "src"},
package_data={'': extra_files},
include_package_data=True,
packages=setuptools.find_packages(where="src"),
python_requires=">=3.7",
)