mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
add copyright header
This commit is contained in:
parent
472e13dd26
commit
2ed89af002
2 changed files with 8 additions and 1 deletions
|
|
@ -1 +1,6 @@
|
|||
# Copyright (c) Facebook, Inc. and its affiliates.
|
||||
#
|
||||
# This source code is licensed under the MIT license found in the
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
|
||||
LIBCST_VERSION: str = "0.3.2"
|
||||
|
|
|
|||
4
setup.py
4
setup.py
|
|
@ -16,7 +16,9 @@ with open(path.join(this_directory, "README.rst"), encoding="utf-8") as f:
|
|||
long_description = f.read()
|
||||
|
||||
# Grab the version constant so that libcst.tool stays in sync with this package.
|
||||
spec = importlib.util.spec_from_file_location("version", path.join(this_directory, "libcst/_version.py"))
|
||||
spec = importlib.util.spec_from_file_location(
|
||||
"version", path.join(this_directory, "libcst/_version.py")
|
||||
)
|
||||
version = importlib.util.module_from_spec(spec)
|
||||
# pyre-ignore Pyre doesn't know about importlib entirely.
|
||||
spec.loader.exec_module(version)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue