-1

How does PyCharm know / configures the project type when Pycharm clones a Git or Github repository.

When I create a new PyCharm project, I configure a project type.

Example PyCharm project types: Google App Engine project, Django project.

Update:

This Github repo does not contain any project settings. See VonC answer below. Cloning it with Pycharm works fine. I do not use standard paths for the Python interpreter and the App Engine SDK.

voscausa
  • 11,253
  • 2
  • 39
  • 67

1 Answers1

0

You can check if the GitHub repo include project settings file (as it is recommended in "How to deal with IntelliJ IDEA project files under Git source control constantly changing?")

  • .ipr file based format
  • .idea/ directory based format

If those files are in the Git repo, PyCharm would have no problem configuring the project based on the settings included in said files.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Now I have path mismatches (Pyhon and App Engine SDK path in the PyCharm project settings) when I clone a Git remote which includes .idea files. But I do not have this problem at all, when using Github. See Update in the question. – voscausa Jul 18 '14 at 15:36
  • @voscausa then PyCharm must infer the nature of the project when it is imported, and generate on-the-fly default project settings. – VonC Jul 18 '14 at 16:34
  • I quessed and tried: the naming of the remote GIT repository does the trick – voscausa Jul 18 '14 at 18:26