-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (40 loc) · 1.21 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
#
# Plasma
# Copyright (c) 2021 Yusuf Olokoba.
#
from setuptools import find_packages, setup
# Get readme
with open("README.md", "r") as readme:
long_description = readme.read()
# Get version
with open("torchplasma/version.py") as version_source:
gvars = {}
exec(version_source.read(), gvars)
version = gvars["__version__"]
# Setup
setup(
name="torchplasma",
version=version,
author="Yusuf Olokoba",
author_email="hi@hdk.ai",
description="Differentiable image editing operations for computational photography in PyTorch.",
long_description=long_description,
long_description_content_type="text/markdown",
license="Apache License 2.0",
python_requires=">=3.6",
install_requires=[
"imageio",
"torch",
"torchvision"
],
url="https://github.com/hdkai/Plasma",
packages=find_packages(include=["torchplasma", "torchplasma.*"]),
package_data={ },
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Image Recognition",
"Topic :: Software Development :: Libraries",
],
)