Skip to content

Commit

Permalink
Support py2exe
Browse files Browse the repository at this point in the history
  • Loading branch information
ids1024 committed Jan 16, 2015
1 parent c988503 commit 5caca6b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 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,6 @@
"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"}}
)

0 comments on commit 5caca6b

Please sign in to comment.