Created
April 7, 2011 19:50
-
-
Save minrk/908567 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/setup.py b/setup.py | |
index f6c7e99..75bd22f 100755 | |
--- a/setup.py | |
+++ b/setup.py | |
@@ -189,7 +189,6 @@ if len(sys.argv) >= 2 and sys.argv[1] in ('sdist','bdist_rpm'): | |
packages = find_packages() | |
package_data = find_package_data() | |
-scripts = find_scripts() | |
data_files = find_data_files() | |
#--------------------------------------------------------------------------- | |
@@ -227,11 +226,14 @@ if 'setuptools' in sys.modules: | |
test='nose>=0.10.1', | |
security='pyOpenSSL>=0.6' | |
) | |
+ scripts = [] | |
else: | |
# If we are running without setuptools, call this function which will | |
# check for dependencies an inform the user what is needed. This is | |
# just to make life easy for users. | |
check_for_dependencies() | |
+ # only use find_scripts when not using setuptools: | |
+ scripts = find_scripts() | |
#--------------------------------------------------------------------------- | |
# Do the actual setup now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment