Skip to content

Commit b5ad17c

Browse files
Nikola HristovNikola Hristov
authored andcommitted
2 parents cf7fcb5 + 22be07b commit b5ad17c

21 files changed

+1893
-174
lines changed

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Ignore the pythonEnvironments/ folder because we use ESLint there instead
2+
src/client/pythonEnvironments/*
3+
src/test/pythonEnvironments/*

.prettierrc.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
module.exports = {
2+
singleQuote: true,
3+
printWidth: 120,
4+
tabWidth: 4,
5+
endOfLine: 'auto',
6+
trailingComma: 'none',
7+
overrides: [
8+
{
9+
files: ['*.yml', '*.yaml'],
10+
options: {
11+
tabWidth: 2
12+
}
13+
},
14+
{
15+
files: ['**/datascience/serviceRegistry.ts'],
16+
options: {
17+
printWidth: 240
18+
}
19+
}
20+
]
21+
};

CODE_OF_CONDUCT.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Microsoft Open Source Code of Conduct
2+
3+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
4+
5+
Resources:
6+
7+
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
8+
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
9+
- Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns

LICENSE

Lines changed: 21 additions & 136 deletions
Original file line numberDiff line numberDiff line change
@@ -1,136 +1,21 @@
1-
Creative Commons Legal Code
2-
3-
CC0 1.0 Universal
4-
5-
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
6-
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
7-
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
8-
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
9-
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
10-
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
11-
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
12-
HEREUNDER.
13-
14-
Statement of Purpose
15-
16-
The laws of most jurisdictions throughout the world automatically confer
17-
exclusive Copyright and Related Rights (defined below) upon the creator and
18-
subsequent owner(s) (each and all, an "owner") of an original work of authorship
19-
and/or a database (each, a "Work").
20-
21-
Certain owners wish to permanently relinquish those rights to a Work for the
22-
purpose of contributing to a commons of creative, cultural and scientific works
23-
("Commons") that the public can reliably and without fear of later claims of
24-
infringement build upon, modify, incorporate in other works, reuse and
25-
redistribute as freely as possible in any form whatsoever and for any purposes,
26-
including without limitation commercial purposes. These owners may contribute to
27-
the Commons to promote the ideal of a free culture and the further production of
28-
creative, cultural and scientific works, or to gain reputation or greater
29-
distribution for their Work in part through the use and efforts of others.
30-
31-
For these and/or other purposes and motivations, and without any expectation of
32-
additional consideration or compensation, the person associating CC0 with a Work
33-
(the "Affirmer"), to the extent that he or she is an owner of Copyright and
34-
Related Rights in the Work, voluntarily elects to apply CC0 to the Work and
35-
publicly distribute the Work under its terms, with knowledge of his or her
36-
Copyright and Related Rights in the Work and the meaning and intended legal
37-
effect of CC0 on those rights.
38-
39-
1. Copyright and Related Rights. A Work made available under CC0 may be
40-
protected by copyright and related or neighboring rights ("Copyright and
41-
Related Rights"). Copyright and Related Rights include, but are not limited
42-
to, the following:
43-
44-
i. the right to reproduce, adapt, distribute, perform, display, communicate, and
45-
translate a Work; ii. moral rights retained by the original author(s) and/or
46-
performer(s); iii. publicity and privacy rights pertaining to a person's image
47-
or likeness depicted in a Work; iv. rights protecting against unfair competition
48-
in regards to a Work, subject to the limitations in paragraph 4(a), below; v.
49-
rights protecting the extraction, dissemination, use and reuse of data in a
50-
Work; vi. database rights (such as those arising under Directive 96/9/EC of the
51-
European Parliament and of the Council of 11 March 1996 on the legal protection
52-
of databases, and under any national implementation thereof, including any
53-
amended or successor version of such directive); and vii. other similar,
54-
equivalent or corresponding rights throughout the world based on applicable law
55-
or treaty, and any national implementations thereof.
56-
57-
2. Waiver. To the greatest extent permitted by, but not in contravention of,
58-
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
59-
unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
60-
and Related Rights and associated claims and causes of action, whether now
61-
known or unknown (including existing as well as future claims and causes of
62-
action), in the Work (i) in all territories worldwide, (ii) for the maximum
63-
duration provided by applicable law or treaty (including future time
64-
extensions), (iii) in any current or future medium and for any number of
65-
copies, and (iv) for any purpose whatsoever, including without limitation
66-
commercial, advertising or promotional purposes (the "Waiver"). Affirmer
67-
makes the Waiver for the benefit of each member of the public at large and to
68-
the detriment of Affirmer's heirs and successors, fully intending that such
69-
Waiver shall not be subject to revocation, rescission, cancellation,
70-
termination, or any other legal or equitable action to disrupt the quiet
71-
enjoyment of the Work by the public as contemplated by Affirmer's express .
72-
73-
3. Public License Fallback. Should any part of the Waiver for any reason be
74-
judged legally invalid or ineffective under applicable law, then the Waiver
75-
shall be preserved to the maximum extent permitted taking into account
76-
Affirmer's express . In addition, to the extent the Waiver is so judged
77-
Affirmer hereby grants to each affected person a royalty-free, non
78-
transferable, non sublicensable, non exclusive, irrevocable and unconditional
79-
license to exercise Affirmer's Copyright and Related Rights in the Work (i)
80-
in all territories worldwide, (ii) for the maximum duration provided by
81-
applicable law or treaty (including future time extensions), (iii) in any
82-
current or future medium and for any number of copies, and (iv) for any
83-
purpose whatsoever, including without limitation commercial, advertising or
84-
promotional purposes (the "License"). The License shall be deemed effective
85-
as of the date CC0 was applied by Affirmer to the Work. Should any part of
86-
the License for any reason be judged legally invalid or ineffective under
87-
applicable law, such partial invalidity or ineffectiveness shall not
88-
invalidate the remainder of the License, and in such case Affirmer hereby
89-
affirms that he or she will not (i) exercise any of his or her remaining
90-
Copyright and Related Rights in the Work or (ii) assert any associated claims
91-
and causes of action with respect to the Work, in either case contrary to
92-
93-
4. Limitations and Disclaimers.
94-
95-
a. No trademark or patent rights held by Affirmer are waived, abandoned,
96-
surrendered, licensed or otherwise affected by this document. b. Affirmer offers
97-
the Work as-is and makes no representations or warranties of any kind concerning
98-
the Work, express, implied, statutory or otherwise, including without limitation
99-
warranties of title, merchantability, fitness for a particular purpose, non
100-
infringement, or the absence of latent or other defects, accuracy, or the
101-
present or absence of errors, whether or not discoverable, all to the greatest
102-
extent permissible under applicable law. c. Affirmer disclaims responsibility
103-
for clearing rights of other persons that may apply to the Work or any use
104-
thereof, including without limitation any person's Copyright and Related Rights
105-
in the Work. Further, Affirmer disclaims responsibility for obtaining any
106-
necessary consents, permissions or other rights required for any use of the
107-
Work. d. Affirmer understands and acknowledges that Creative Commons is not a
108-
party to this document and has no duty or obligation with respect to this CC0 or
109-
use of the Work.
110-
111-
---
112-
113-
Note: The above license applies only to the modifications made by PlayForm to
114-
the original work. The original work is licensed under the following licenses
115-
and is subject to their terms and conditions:
116-
117-
MIT License
118-
119-
Copyright (c) Microsoft Corporation.
120-
121-
Permission is hereby granted, free of charge, to any person obtaining a copy of
122-
this software and associated documentation files (the "Software"), to deal in
123-
the Software without restriction, including without limitation the rights to
124-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
125-
the Software, and to permit persons to whom the Software is furnished to do so,
126-
subject to the following conditions:
127-
128-
The above copyright notice and this permission notice shall be included in all
129-
copies or substantial portions of the Software.
130-
131-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
132-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
133-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
134-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
135-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
136-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
1+
MIT License
2+
3+
Copyright (c) Microsoft Corporation.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# vscode-python-installer
2+
3+
This module is used for installing python modules into python environments. It supports pip and conda installation at the moment.
4+
5+
## Contributing
6+
7+
This project welcomes contributions and suggestions. Most contributions require you to agree to a
8+
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
9+
the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
10+
11+
When you submit a pull request, a CLA bot will automatically determine whether you need to provide
12+
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
13+
provided by the bot. You will only need to do this once across all repos using our CLA.
14+
15+
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
16+
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
17+
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
18+
19+
## Trademarks
20+
21+
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft
22+
trademarks or logos is subject to and must follow
23+
[Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).
24+
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
25+
Any use of third-party trademarks or logos are subject to those third-party's policies.

SECURITY.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.5 BLOCK -->
2+
3+
## Security
4+
5+
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
6+
7+
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://docs.microsoft.com/en-us/previous-versions/tn-archive/cc751383(v=technet.10)), please report it to us as described below.
8+
9+
## Reporting Security Issues
10+
11+
**Please do not report security vulnerabilities through public GitHub issues.**
12+
13+
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://msrc.microsoft.com/create-report).
14+
15+
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc).
16+
17+
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
18+
19+
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
20+
21+
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22+
* Full paths of source file(s) related to the manifestation of the issue
23+
* The location of the affected source code (tag/branch/commit or direct URL)
24+
* Any special configuration required to reproduce the issue
25+
* Step-by-step instructions to reproduce the issue
26+
* Proof-of-concept or exploit code (if possible)
27+
* Impact of the issue, including how an attacker might exploit the issue
28+
29+
This information will help us triage your report more quickly.
30+
31+
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://microsoft.com/msrc/bounty) page for more details about our active programs.
32+
33+
## Preferred Languages
34+
35+
We prefer all communications to be in English.
36+
37+
## Policy
38+
39+
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd).
40+
41+
<!-- END MICROSOFT SECURITY.MD BLOCK -->

package.json

Lines changed: 15 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,17 @@
11
{
2-
"name": "@codeeditorland/python-installer",
3-
"version": "0.0.1",
4-
"private": false,
5-
"description": "VS Code module for installing python packages",
6-
"keywords": [
7-
"codeeditorland",
8-
"land",
9-
"playform"
10-
],
11-
"homepage": "HTTPS://GitHub.Com/CodeEditorLand/LandPythonInstaller#readme",
12-
"bugs": {
13-
"url": "HTTPS://GitHub.Com/CodeEditorLand/LandPythonInstaller/issues"
14-
},
15-
"repository": {
16-
"type": "git",
17-
"url": "git+HTTPS://github.com/CodeEditorLand/LandPythonInstaller.git"
18-
},
19-
"license": "SEE LICENSE IN LICENSE",
20-
"author": {
21-
"name": "Source 🖋️ Open 👐🏻",
22-
"email": "Source/Open@Editor.Land",
23-
"url": "HTTPS://Editor.Land"
24-
},
25-
"type": "module",
26-
"scripts": {
27-
"compile": "tsc -p ./",
28-
"compilewatch": "tsc -watch -p ./",
29-
"download-api": "vscode-dts dev",
30-
"postdownload-api": "vscode-dts main",
31-
"prepublishOnly": "Build 'Source/**/*.ts'"
32-
},
33-
"dependencies": {},
34-
"devDependencies": {
35-
"@playform/build": "0.2.3"
36-
},
37-
"publishConfig": {
38-
"access": "public"
39-
}
2+
"name": "@vscode/python-installer",
3+
"version": "0.1.0",
4+
"description": "VS Code module for installing python packages",
5+
"scripts": {
6+
"compile": "tsc -p ./",
7+
"compilewatch": "tsc -watch -p ./",
8+
"download-api": "vscode-dts dev",
9+
"postdownload-api": "vscode-dts main"
10+
},
11+
"author": "Visual Studio Code Team",
12+
"license": "MIT",
13+
"dependencies": {
14+
},
15+
"devDependencies": {
16+
}
4017
}

0 commit comments

Comments
 (0)