Skip to content

Commit b2ab39c

Browse files
committed
fixed distribution package to include python code & made zip-safe
1 parent c5b0fec commit b2ab39c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

setup.py

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#!/usr/bin/env python
2+
13
from setuptools import setup, find_packages
24

35
version = '0.8.2'
@@ -15,7 +17,7 @@
1517
author = 'Roland Tapken',
1618
author_email = 'roland at dau-sicher de',
1719
packages = ['webkit2png'],
18-
zip_safe=False,
20+
zip_safe=True,
1921
include_package_data=True,
2022
package_dir = [],
2123
classifiers=[
@@ -30,6 +32,10 @@
3032
'Topic :: Multimedia :: Graphics :: Capture :: Screen Capture',
3133
'Topic :: Utilities'
3234
],
33-
scripts = ['scripts/webkit2png'],
35+
entry_points = {
36+
'console_scripts': [
37+
'webkit2png = webkit2png.scripts:main',
38+
]
39+
},
3440
)
3541

0 commit comments

Comments
 (0)