-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
57 lines (51 loc) · 1.43 KB
/
setup.py
File metadata and controls
57 lines (51 loc) · 1.43 KB
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
"""Welcome to ACRE Cascade starter."""
from setuptools import find_packages, setup
# We follow Semantic Versioning (https://semver.org/)
_MAJOR_VERSION = "0"
_MINOR_VERSION = "0"
_PATCH_VERSION = "1"
_VERSION_SUFFIX = "alpha"
# Example, '0.4.0-rc1'
version = ".".join([_MAJOR_VERSION, _MINOR_VERSION, _PATCH_VERSION])
if _VERSION_SUFFIX:
version = f"{version}-{_VERSION_SUFFIX}"
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name="ACRE Cascade Starter",
version=version,
author="Predictive Analytics Lab - University of Sussex",
description="A starter kit for the Crop Segmentation Competition.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://competitions.codalab.org/competitions/27176",
packages=find_packages(exclude=["tests.*", "tests"]),
package_data={},
python_requires=">=3.6",
install_requires=[
"hydra-core",
"pillow",
"pytorch-lightning",
"requests",
"scikit_learn",
"seaborn",
"torchvision",
"tqdm",
"typing-extensions",
"typing-inspect",
"wandb",
],
extras_require={
"dev": [
"black",
"data-science-types",
"isort",
"mypy",
"pre-commit",
"pydocstyle",
"pylint",
"pytest",
"pytest-cov",
],
},
)