Skip to content

Commit 7f7c20a

Browse files
committed
Update copyright
Fix pep517 bugs Signed-off-by: Aleksei Stepanov <penguinolog@gmail.com>
1 parent 288dae0 commit 7f7c20a

File tree

6 files changed

+6
-9
lines changed

6 files changed

+6
-9
lines changed

advanced_descriptors/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2017 Alexey Stepanov aka penguinolog
1+
# Copyright 2017 - 2019 Alexey Stepanov aka penguinolog
22
# Licensed under the Apache License, Version 2.0 (the "License"); you may
33
# not use this file except in compliance with the License. You may obtain
44
# a copy of the License at

advanced_descriptors/advanced_property.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22

3-
# Copyright 2016 - 2018 Alexey Stepanov aka penguinolog
3+
# Copyright 2016 - 2019 Alexey Stepanov aka penguinolog
44
# Licensed under the Apache License, Version 2.0 (the "License"); you may
55
# not use this file except in compliance with the License. You may obtain
66
# a copy of the License at

advanced_descriptors/log_on_access.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22

3-
# Copyright 2016 - 2018 Alexey Stepanov aka penguinolog
3+
# Copyright 2016 - 2019 Alexey Stepanov aka penguinolog
44
# Licensed under the Apache License, Version 2.0 (the "License"); you may
55
# not use this file except in compliance with the License. You may obtain
66
# a copy of the License at

advanced_descriptors/separate_class_method.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22

3-
# Copyright 2017-2018 Alexey Stepanov aka penguinolog
3+
# Copyright 2017 - 2019 Alexey Stepanov aka penguinolog
44
# Licensed under the Apache License, Version 2.0 (the "License"); you may
55
# not use this file except in compliance with the License. You may obtain
66
# a copy of the License at

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ requires = [
55
"setuptools >= 21.0.0,!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0", # PSF/ZPL
66
"wheel",
77
]
8+
build-backend="setuptools.build_meta"
89

910
[tool.black]
1011
line-length = 120

setup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2016 - 2017 Alexey Stepanov aka penguinolog
1+
# Copyright 2016 - 2019 Alexey Stepanov aka penguinolog
22
# Licensed under the Apache License, Version 2.0 (the "License"); you may
33
# not use this file except in compliance with the License. You may obtain
44
# a copy of the License at
@@ -176,10 +176,6 @@ def get_simple_vars_from_src(src):
176176
try:
177177
if isinstance(node.value, ast_data):
178178
value = ast.literal_eval(node.value)
179-
elif isinstance(node.value, ast.Name) and isinstance( # NameConstant in python < 3.4
180-
node.value.ctx, ast.Load # Read constant
181-
):
182-
value = ast.literal_eval(node.value)
183179
else:
184180
continue
185181
except ValueError:

0 commit comments

Comments
 (0)