This repository was archived by the owner on Mar 27, 2019. It is now read-only.
File tree 2 files changed +0
-34
lines changed
2 files changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -92,35 +92,6 @@ def get_module_info(self, raw_jedi_module_path):
92
92
93
93
return (ModuleKind .UNKNOWN , module_path )
94
94
95
- def get_package_information (self ):
96
- project_packages = self .project_packages ()
97
- dependencies = self .external_dependencies ()
98
-
99
- out = []
100
- for package in project_packages :
101
- out .append ({
102
- "package" : {
103
- "name" : package
104
- },
105
- "dependencies" : dependencies
106
- })
107
- return out
108
-
109
- @lru_cache ()
110
- def project_packages (self ):
111
- '''
112
- Provides a list of all packages declared in the project
113
- '''
114
- script = [
115
- "import json" ,
116
- "import setuptools" ,
117
- "pkgs = setuptools.find_packages()" ,
118
- "print(json.dumps(pkgs))"
119
- ]
120
-
121
- c = self .run_command ("python -c '{}'" .format (";" .join (script )))
122
- return json .loads (c .out )
123
-
124
95
def external_dependencies (self ):
125
96
'''
126
97
Provides a list of third party packages that the
Original file line number Diff line number Diff line change 5
5
"test_dep_versioning.py::TestDependencyVersioning::()::test_dep_download_specified_version[test_data1]": true,
6
6
"test_dep_versioning.py::TestDependencyVersioning::()::test_dep_download_specified_version[test_data2]": true,
7
7
"test_dep_versioning.py::TestDependencyVersioning::()::test_dep_download_specified_version[test_data3]": true,
8
- "test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_cross_package_definition": true,
9
- "test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_cross_package_import_definition": true,
10
- "test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_local_defintion": true,
11
- "test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_local_package_cross_module_definition": true,
12
- "test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_local_package_cross_module_import_definition": true,
13
8
"test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_local_references": true,
14
9
"test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_std_lib_definition": true,
15
10
"test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_x_references": true,
You can’t perform that action at this time.
0 commit comments