This repository was archived by the owner on Mar 27, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-34
lines changed
Expand file tree Collapse file tree 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):
9292
9393 return (ModuleKind .UNKNOWN , module_path )
9494
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-
12495 def external_dependencies (self ):
12596 '''
12697 Provides a list of third party packages that the
Original file line number Diff line number Diff line change 55 "test_dep_versioning.py::TestDependencyVersioning::()::test_dep_download_specified_version[test_data1]": true,
66 "test_dep_versioning.py::TestDependencyVersioning::()::test_dep_download_specified_version[test_data2]": true,
77 "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,
138 "test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_local_references": true,
149 "test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_std_lib_definition": true,
1510 "test_fizzbuzz.py::TestFizzBuzzWorkspace::()::test_x_references": true,
You can’t perform that action at this time.
0 commit comments