Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make python path environment based, and compiler path overridable by the caller #228

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ArmoryQt.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python
################################################################################
# #
# Copyright (C) 2011-2014, Armory Technologies, Inc. #
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# All the actual Makefiles are deeper in the directory tree.
# I am just calling them, here.

PREFIX=/usr
PREFIX=?/usr
DESTDIR=

all :
Expand Down
2 changes: 1 addition & 1 deletion cppForSwig/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CXX = g++
CXX ?= g++

ifdef DEBUG
CFLAGS=-g3 -Wall -pipe -fPIC
Expand Down
2 changes: 1 addition & 1 deletion cppForSwig/testswig.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python
################################################################################
# #
# Copyright (C) 2011, Alan C. Reiner <[email protected]> #
Expand Down
2 changes: 1 addition & 1 deletion dpkgfiles/make_deb_package.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python

import os
import shutil
Expand Down
2 changes: 1 addition & 1 deletion dpkgfiles/postinst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python

import os
import time
Expand Down
2 changes: 1 addition & 1 deletion extras/armoryengine_basics.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python
import sys
sys.path.append('..')
from armoryengine import *
Expand Down
2 changes: 1 addition & 1 deletion extras/cli_sign_txdp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python
import sys
sys.path.append('..')
sys.path.append('.')
Expand Down
2 changes: 1 addition & 1 deletion extras/createTestChain.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python
from pybtcengine import *
from CppBlockUtils import BlockHeader as CppBlockHeader
from CppBlockUtils import BlockHeaderRef as CppBlockHeaderRef
Expand Down
2 changes: 1 addition & 1 deletion extras/dlscript.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python
import subprocess
import os
from sys import argv
Expand Down
2 changes: 1 addition & 1 deletion extras/extractKeysFromWallet.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python

#
# IMPORTANT: This script extracts *EVERY KEY & ADDR* out of your wallet.dat
Expand Down
2 changes: 1 addition & 1 deletion extras/mysteryHex.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python
from os import path
import sys
from optparse import OptionParser
Expand Down
2 changes: 1 addition & 1 deletion extras/sign_release.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python

# Take a directory full of things to be signed, and do the right thing.
# Make sure you cert-sign the windows installers, first
Expand Down
2 changes: 1 addition & 1 deletion release_scripts/Step2_Offline_PackageSigning.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python

# Take a directory full of things to be signed, and do the right thing.
# Make sure you cert-sign the windows installers, first
Expand Down
2 changes: 1 addition & 1 deletion release_scripts/Step3_Online_VerifyAndUpload.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python

# This script doesn't actually do the verification stuff yet. You should
# manually check, after this script completes, that signed_release_unpack:
Expand Down
2 changes: 1 addition & 1 deletion release_scripts/release_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python
import sys
import os
import time
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/python
#!/usr/bin/env python
from distutils.core import setup
import py2exe

Expand Down