Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-05-26 13:33:51 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-26 13:33:51 +0400
commit26252bb3154395965f5499bd5264474f9d93b787 (patch)
tree8b021e9d654ebc6d7270937ef20b30407ab2d3b7 /build_files/cmake/cmake_netbeans_project.py
parentea19f154004cb28b684c70be8b937e0056c715dc (diff)
correct spelling error and some pep8 changes.
Diffstat (limited to 'build_files/cmake/cmake_netbeans_project.py')
-rwxr-xr-xbuild_files/cmake/cmake_netbeans_project.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/build_files/cmake/cmake_netbeans_project.py b/build_files/cmake/cmake_netbeans_project.py
index c8bedb55148..6afca8f3b6a 100755
--- a/build_files/cmake/cmake_netbeans_project.py
+++ b/build_files/cmake/cmake_netbeans_project.py
@@ -33,7 +33,7 @@ Windows not supported so far
from project_info import *
import os
-from os.path import join, dirname, normpath, abspath, splitext, relpath, exists
+from os.path import join, dirname, normpath, relpath, exists
def create_nb_project_main():
@@ -50,7 +50,6 @@ def create_nb_project_main():
includes.sort()
PROJECT_NAME = "Blender"
- FILE_NAME = PROJECT_NAME.lower()
# --------------- NB spesific
defines = [("%s=%s" % cdef) if cdef[1] else cdef[0] for cdef in defines]
@@ -76,7 +75,7 @@ def create_nb_project_main():
if not exists(PROJECT_DIR_NB):
os.mkdir(PROJECT_DIR_NB)
- SOURCE_DIR_REL = relpath(SOURCE_DIR, PROJECT_DIR)
+ # SOURCE_DIR_REL = relpath(SOURCE_DIR, PROJECT_DIR)
f = open(join(PROJECT_DIR_NB, "project.xml"), 'w')