-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·57 lines (51 loc) · 1.69 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 python3
# -*- coding: utf-8 -*-
# ------------------------------------------------------------------------------
#
# Copyright (c) 2024 Emanuele Ballarin <[email protected]>
# Released under the terms of the MIT License
# (see: https://url.ballarin.cc/mitlicense)
#
# ------------------------------------------------------------------------------
import os
from setuptools import find_packages
from setuptools import setup
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read().strip()
PACKAGENAME: str = "foveatorch"
setup(
name=PACKAGENAME,
version="0.1.8",
author="Emanuele Ballarin",
author_email="[email protected]",
url="https://github.com/emaballarin/foveatorch",
description="Differentiable foveated vision for Deep Learning methods",
long_description=read("README.md"),
long_description_content_type="text/markdown",
keywords=[
"Deep Learning",
"Machine Learning",
"Computer Vision",
"Computational Neuroscience",
"Differentiable Programming",
],
license="MIT",
packages=[
package for package in find_packages() if package.startswith(PACKAGENAME)
],
classifiers=[
"Development Status :: 4 - Beta",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Environment :: Console",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
],
python_requires=">=3.10",
install_requires=[
"torch>=2",
"kornia>=0.6.12",
],
include_package_data=False,
zip_safe=True,
)