summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.py31
-rw-r--r--[-rwxr-xr-x]swiftstory/SwiftStory.py (renamed from swiftstoryd)0
2 files changed, 14 insertions, 17 deletions
diff --git a/setup.py b/setup.py
index 05232cb..a1d389b 100644
--- a/setup.py
+++ b/setup.py
@@ -1,8 +1,4 @@
-from distutils.core import setup
-
-packages = [
- 'swiftstory',
- ]
+from setuptools import setup, find_packages
prefix = '/'
share_dir = 'usr/share/swiftstory/'
@@ -23,16 +19,17 @@ for n in os.walk('usr'):
print(data_files)
-scripts = [
- 'swiftstoryd',
- ]
-
setup(
- name='swiftstory',
- version='0.1',
- author='Olivier Gayot',
- author_email='olivier.gayot@sigexec.com',
- packages=packages,
- data_files=data_files,
- scripts=scripts,
- )
+ name = 'swiftstory',
+ description = "SwiftStory game: We're not out of the woods yet.",
+ version = '0.1',
+ author = 'Olivier Gayot',
+ author_email = 'olivier.gayot@sigexec.com',
+ packages = find_packages(),
+ data_files = data_files,
+ entry_points = {
+ 'console_scripts': [
+ 'swiftstoryd = swiftstory.SwiftStory:main',
+ ],
+ }
+)
diff --git a/swiftstoryd b/swiftstory/SwiftStory.py
index 2f5ae36..2f5ae36 100755..100644
--- a/swiftstoryd
+++ b/swiftstory/SwiftStory.py