Skip to content
Browse files

Use setuptools setup if it is available; add cook.cmd for windows dep…

…loyments.
  • Loading branch information...
1 parent 017f97e commit 5c55a1df073b0c12059874a9654a771c15e6c4a2 @VanL committed
Showing with 7 additions and 1 deletion.
  1. +7 −1 setup.py
View
8 setup.py
@@ -1,5 +1,11 @@
"""LittleChef's setup.py"""
-from distutils.core import setup
+try: from setuptools import setup
+except ImportError: from distutils.core import setup
+import platform
+
+scripts = ['cook']
+if platform.system() == 'Windows':
+ scripts += ['cook.cmd']
setup(
name="littlechef",

0 comments on commit 5c55a1d

Please sign in to comment.
Something went wrong with that request. Please try again.