diff options
author | jaseg <s@jaseg.de> | 2013-09-16 16:37:15 +0200 |
---|---|---|
committer | jaseg <s@jaseg.de> | 2013-09-16 16:37:15 +0200 |
commit | 26bf093af79166b502724c2ca4f8fa5924205ec2 (patch) | |
tree | e2c983ad00ce390cc00ca14ade87c8e5050b6f1e /setup.py | |
parent | ea24fc5026cc85ba363c9a6496789a018498ece4 (diff) | |
download | ponysay-26bf093af79166b502724c2ca4f8fa5924205ec2.tar.gz ponysay-26bf093af79166b502724c2ca4f8fa5924205ec2.tar.bz2 ponysay-26bf093af79166b502724c2ca4f8fa5924205ec2.zip |
Fixed setup stuff. Python setuptools really is a pain.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -27,13 +27,14 @@ setup(name = 'ponysay', author = 'jaseg', author_email = 'ponysay@jaseg.net', url = 'https://github.com/jaseg/ponysay', - py_modules = ['ponysay'], - data_files = [dir_copy('quotes', 'ponies'), - dir_copy('genponies', 'ponies')], - scripts = ['ponysay', - 'ponythink', - 'termcenter', - 'ponysay-qotd'], + packages = ['ponysay'], + package_dir = {'ponysay': 'ponysay'}, + package_data = {'ponysay': ['quotes/*.quotes', 'ponies/*.pony']}, + entry_points = {'console_scripts': [ + 'ponysay=ponysay:main', + 'ponythink=ponysay:main', + 'ponysay-qotd=ponysay:qotd_server', + 'termcenter=ponysay:termcenter']}, zip_safe = False, classifiers = [ 'Development Status :: 5 - Production/Stable', |