Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support py2exe #190

Merged
merged 2 commits into from
Jan 21, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@
except ImportError:
from distutils.core import setup

try:
import py2exe # Add py2exe command

except ImportError:
pass

setup(
name="mps-youtube",
version="0.2.1",
Expand All @@ -24,6 +30,7 @@
download_url="https://github.com/np1/mps-youtube/tarball/master",
packages=['mps_youtube'],
entry_points=dict(console_scripts=['mpsyt = mps_youtube:main.main']),
console=['mpsyt'],
install_requires=['Pafy >= 0.3.66'],
package_data={"": ["LICENSE", "README.rst", "CHANGELOG"]},
classifiers=[
Expand Down Expand Up @@ -52,5 +59,8 @@
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)"
],
long_description=open("README.rst").read()
long_description=open("README.rst").read(),
options={"py2exe": {"excludes": "readline, win32api, win32con, xerox",
"bundle_files": 1}},
zipfile=None
)