-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathconstants.ts
More file actions
29 lines (24 loc) · 814 Bytes
/
constants.ts
File metadata and controls
29 lines (24 loc) · 814 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import * as path from 'path';
export const ENVS_EXTENSION_ID = 'ms-python.vscode-python-envs';
export const PYTHON_EXTENSION_ID = 'ms-python.python';
export const EXTENSION_ROOT_DIR = path.dirname(__dirname);
export const DEFAULT_PACKAGE_MANAGER_ID = 'ms-python.python:pip';
export const DEFAULT_ENV_MANAGER_ID = 'ms-python.python:venv';
export const KNOWN_FILES = [
'requirements.txt',
'requirements.in',
'.condarc',
'.python-version',
'environment.yml',
'pyproject.toml',
'meta.yaml',
'.flake8',
'.pep8',
'.pylintrc',
'.pypirc',
'Pipfile',
'poetry.lock',
'Pipfile.lock',
];
export const KNOWN_TEMPLATE_ENDINGS = ['.j2', '.jinja2'];
export const NEW_PROJECT_TEMPLATES_FOLDER = path.join(EXTENSION_ROOT_DIR, 'src', 'features', 'creators', 'templates');