projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cc51a7d
)
setup.py Python3 fix, PyPi classifiers
author
Filippo Valsorda
<filippo.valsorda@gmail.com>
Thu, 29 Nov 2012 18:21:19 +0000
(19:21 +0100)
committer
Filippo Valsorda
<filippo.valsorda@gmail.com>
Thu, 29 Nov 2012 18:21:19 +0000
(19:21 +0100)
setup.py
patch
|
blob
|
history
diff --git
a/setup.py
b/setup.py
index 5dfbbc72dba47888081caa730f379c8965602e03..ba051f7deb0216d5c7aaa36091a5d10d9037b38c 100644
(file)
--- a/
setup.py
+++ b/
setup.py
@@
-1,3
+1,7
@@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+from __future__ import print_function
from distutils.core import setup
import pkg_resources
import sys
from distutils.core import setup
import pkg_resources
import sys
@@
-5,7
+9,7
@@
import sys
try:
import py2exe
except ImportError:
try:
import py2exe
except ImportError:
- print
>> sys.stderr, "Cannot import py2exe"
+ print
("Cannot import py2exe", file=sys.stderr)
py2exe_options = {
"bundle_files": 1,
py2exe_options = {
"bundle_files": 1,
@@
-20,7
+24,7
@@
py2exe_console = [{
"dest_base": "youtube-dl",
}]
"dest_base": "youtube-dl",
}]
-exec
file('youtube_dl/version.py'
)
+exec
(compile(open('youtube_dl/version.py').read(), 'youtube_dl/version.py', 'exec')
)
setup(
name = 'youtube_dl',
setup(
name = 'youtube_dl',
@@
-40,4
+44,15
@@
setup(
scripts = ['bin/youtube-dl'],
zipfile = None,
scripts = ['bin/youtube-dl'],
zipfile = None,
+
+ classifiers = [
+ "Topic :: Multimedia :: Video",
+ "Development Status :: 5 - Production/Stable",
+ "Environment :: Console",
+ "License :: Public Domain",
+ "Programming Language :: Python :: 2.6",
+ "Programming Language :: Python :: 2.7",
+ "Programming Language :: Python :: 3",
+ "Programming Language :: Python :: 3.3"
+ ]
)
)