-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
53 lines (46 loc) · 1.27 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
# Copyright (c) 2017 Salas Lin (leVirve)
#
# This software is released under the MIT License.
# https://opensource.org/licenses/MIT
from setuptools import setup, find_packages
def version():
with open('onegan/__init__.py') as f:
for line in f:
if line.startswith('__version__'):
return line.replace("'", '').split()[-1]
def pip_requirements():
return [
'torchvision',
'tensorboardX',
'tqdm',
'pyyaml',
]
setup(
name='onegan',
version=version(),
url='http://github.com/leVirve/OneGAN',
description='One GAN framework for fast development setups.',
author='Salas Lin (leVirve)',
author_email='gae.m.project@gmail.com',
license='MIT',
platforms='any',
packages=find_packages(),
zip_safe=False,
keywords='GAN framework',
install_requires=[
*pip_requirements(),
'numpy',
'scipy',
# 'opencv',
'pillow >= 4.1.1',
'torch'
],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Customer Service',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6'
]
)