forked from wkentaro/pytorch-fcn
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·48 lines (40 loc) · 1.32 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
#!/usr/bin/env python
import shlex
import subprocess
import sys
from setuptools import find_packages
from setuptools import setup
__version__ = '1.9.0'
if sys.argv[-1] == 'release':
commands = [
'git tag v{}'.format(__version__),
'git push origin master --tags',
'python setup.py sdist upload',
]
for cmd in commands:
subprocess.call(shlex.split(cmd))
sys.exit(0)
setup(
name='torchfcn',
version=__version__,
packages=find_packages(),
install_requires=[r.strip() for r in open('requirements.txt')],
description='PyTorch Implementation of Fully Convolutional Networks.',
package_data={'torchfcn': ['ext/*']},
include_package_data=True,
author='Kentaro Wada',
author_email='www.kentaro.wada@gmail.com',
license='MIT',
url='https://github.com/wkentaro/pytorch-fcn',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
)