-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
38 lines (36 loc) · 993 Bytes
/
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
#!/usr/bin/env python
from setuptools import setup, find_packages
import sys
if sys.platform == 'win32':
jsonnet = "jsonnetbin==0.17.0"
else:
jsonnet = "jsonnet==0.17.0"
setup(
name="dh_segment_torch",
version="0.1.0",
license="GPL",
url="https://github.com/dhlab-epfl/dhSegment-torch",
description="Generic framework for historical document processing",
packages=find_packages(),
project_urls={
"Paper": "https://arxiv.org/abs/1804.10371",
"Source Code": "https://github.com/dhlab-epfl/dhSegment-torch",
},
install_requires=[
"jsonnet==0.17.0",
"albumentations==0.5.2",
"pretrainedmodels==0.7.4"
],
extras_require={
"doc": [
"sphinx",
"sphinx-autodoc-typehints",
"sphinx-rtd-theme",
"sphinxcontrib-bibtex",
"sphinxcontrib-websupport",
],
"w&b": ["wandb"],
},
test_require=["pytest"],
zip_safe=False,
)