Re-enable creation of setuptools projects on Windows
authorJulien Enselme <jenselme@netbeans.org>
Tue, 11 Oct 2016 18:12:44 +0200
changeset 18387a7eceb33fc4f
parent 18386 7fc277e1cd9d
child 18388 2f7e4f8a63f6
Re-enable creation of setuptools projects on Windows
python.project2/src/org/netbeans/modules/python/project2/templates/EmptyPythonProjectPanelVisual.java
     1.1 --- a/python.project2/src/org/netbeans/modules/python/project2/templates/EmptyPythonProjectPanelVisual.java	Tue Oct 11 18:11:45 2016 +0200
     1.2 +++ b/python.project2/src/org/netbeans/modules/python/project2/templates/EmptyPythonProjectPanelVisual.java	Tue Oct 11 18:12:44 2016 +0200
     1.3 @@ -147,12 +147,6 @@
     1.4  
     1.5      @Override
     1.6      boolean valid(WizardDescriptor wizardDescriptor) {
     1.7 -        boolean bIsWindows = Utilities.isWindows();
     1.8 -        if( bIsWindows) {
     1.9 -            wizardDescriptor.putProperty("WizardPanel_errorMessage",
    1.10 -                    "Cannot create setuptools project for Windows. Press Cancel"); // invalid 
    1.11 -            return false;
    1.12 -        } 
    1.13          if (projectNameTextField.getText().length() == 0) {
    1.14              wizardDescriptor.putProperty("WizardPanel_errorMessage",
    1.15                      "Project Name is not a valid folder name.");