-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (49 loc) · 1.99 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
55
56
57
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# For a fully annotated version of this file and what it does, see
# https://github.com/pypa/sampleproject/blob/master/setup.py
# To upload this file to PyPI you must build it then upload it:
# python setup.py sdist bdist_wheel # build in 'dist' folder
# python-m twine upload dist/* # 'twine' must be installed: 'pip install twine'
import ast
import io
import re
import os
from setuptools import find_packages, setup
DEPENDENCIES = ["requests", "PyPDF2", "gensim", "cltk>=0.1.110", "bs4",
"lxml", "nltk", "norsecorpus>=1.0.2", "jupyter", "networkx",
"matplotlib", "pprint", "numpy", "scikit-learn", "pytest"]
EXCLUDE_FROM_PACKAGES = []
CURDIR = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(CURDIR, "README.md"), "r", encoding="utf-8") as f:
README = f.read()
setup(
name="sigurd",
version="1.2.11",
author="Clément Besnier",
author_email="[email protected]",
description="Code for presentation at Graz, 6th November 2019",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/clemsciences/comparison_sigurdr_siegfried",
packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES),
include_package_data=True,
keywords=["old-norse", "middle-high-german", "siegfried", "sigurdr"],
scripts=[],
entry_points={"console_scripts": ["norsecorpus=norsecorpus.main:main"]},
zip_safe=True,
install_requires=DEPENDENCIES,
test_suite="tests.test_project",
python_requires=">=3.6",
# license and classifier list:
# https://pypi.org/pypi?%3Aaction=list_classifiers
license="License :: OSI Approved :: MIT License",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Topic :: Text Processing",
"Topic :: Text Processing :: Markup :: XML"
],
)