rm redundant imports
This commit is contained in:
parent
e0b81c5516
commit
d5e44a5bce
@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import ast
|
|
||||||
import collections
|
|
||||||
|
|
||||||
|
|
||||||
AUTOCMAKE_GITHUB_URL = 'https://github.com/coderefinery/autocmake/raw/yaml/'
|
AUTOCMAKE_GITHUB_URL = 'https://github.com/coderefinery/autocmake/raw/yaml/'
|
||||||
@ -36,7 +34,7 @@ def fetch_modules(config, relative_path):
|
|||||||
Assemble modules which will
|
Assemble modules which will
|
||||||
be included in CMakeLists.txt.
|
be included in CMakeLists.txt.
|
||||||
"""
|
"""
|
||||||
from collections import Iterable
|
from collections import Iterable, namedtuple
|
||||||
from autocmake.extract import extract_list
|
from autocmake.extract import extract_list
|
||||||
|
|
||||||
download_directory = 'downloaded'
|
download_directory = 'downloaded'
|
||||||
@ -47,7 +45,7 @@ def fetch_modules(config, relative_path):
|
|||||||
sources = extract_list(config, 'source')
|
sources = extract_list(config, 'source')
|
||||||
|
|
||||||
modules = []
|
modules = []
|
||||||
Module = collections.namedtuple('Module', 'path name')
|
Module = namedtuple('Module', 'path name')
|
||||||
|
|
||||||
warnings = []
|
warnings = []
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user