This file contains hidden or 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
<!-- Drop this in ~/Library/Preferences/PyCharm30/tools --> | |
<!-- make sure you set the path to flake8 executable for your machine in the COMMAND option --> | |
<!-- $ git clone [email protected]:8696627.git flake8.xml --> | |
<toolSet name="Flake8"> | |
<tool name="Flake8 File" showInMainMenu="true" showInEditor="true" showInProject="true" showInSearchPopup="false" disabled="false" useConsole="true" synchronizeAfterRun="true"> | |
<exec> | |
<option name="COMMAND" value="/usr/local/bin/flake8" /> | |
<option name="PARAMETERS" value="--max-line-length=80 $FileDir$/$FileName$" /> | |
<option name="WORKING_DIRECTORY" value="$FileDir$" /> | |
</exec> |
This file contains hidden or 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
# | |
# Hack the distutils_plugin's SETUP_TEMPLATE to disable hardlinks. | |
# | |
import string | |
from pybuilder.core import init | |
from pybuilder.plugins.python import distutils_plugin | |
SDIST_MONKEY_PATCH = """ | |
# sdist_hack: Remove reference to os.link to disable using hardlinks when |
This file contains hidden or 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
# Add the following to the top of your build.py file: | |
import sys | |
sys.path.insert(0, 'bldsup') # Project subdirectory for build specific extensions. |