-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
48 lines (41 loc) · 1.24 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
import pathlib
import subprocess
from setuptools import setup
# The directory containing this file
_HERE = pathlib.Path(__file__).parent
# The text of the README file
_README = (_HERE / "README.md").read_text()
# Requirements
_requires = ['numpy',
'scipy',
'scikit-learn',
'scikit-image',
'pillow',
'matplotlib',
'pandas',
'seaborn']
subprocess.call(["pip", "install", "--upgrade", "pip"])
try:
import cv2
except:
_requires.append('opencv-contrib-python-headless')
# This call to setup() does all the work
setup(
name="easytorch",
version="3.8.5",
description="Easy Neural Network Experiments with pytorch",
long_description=_README,
long_description_content_type="text/markdown",
url="https://github.com/sraashis/easytorch",
author="Aashis Khana1",
author_email="sraashis@gmail.com",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
],
packages=['easytorch', 'easytorch.config', 'easytorch.data', 'easytorch.metrics', 'easytorch.utils',
'easytorch.vision'],
include_package_data=True,
install_requires=_requires
)