Skip to content

Commit

Permalink
Update copyright
Browse files Browse the repository at this point in the history
Fix pep517 bugs

Signed-off-by: Aleksei Stepanov <penguinolog@gmail.com>

(cherry picked from commit 7f7c20a)
Signed-off-by: Aleksei Stepanov <penguinolog@gmail.com>
  • Loading branch information
penguinolog committed Mar 5, 2019
1 parent 7276965 commit 94a1f92
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion advanced_descriptors/__init__.py
@@ -1,4 +1,4 @@
# Copyright 2017 Alexey Stepanov aka penguinolog
# Copyright 2017 - 2019 Alexey Stepanov aka penguinolog
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion advanced_descriptors/advanced_property.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python

# Copyright 2016 - 2018 Alexey Stepanov aka penguinolog
# Copyright 2016 - 2019 Alexey Stepanov aka penguinolog
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion advanced_descriptors/log_on_access.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python

# Copyright 2016 - 2018 Alexey Stepanov aka penguinolog
# Copyright 2016 - 2019 Alexey Stepanov aka penguinolog
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion advanced_descriptors/separate_class_method.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python

# Copyright 2017-2018 Alexey Stepanov aka penguinolog
# Copyright 2017 - 2019 Alexey Stepanov aka penguinolog
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Expand Up @@ -5,6 +5,7 @@ requires = [
"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
"wheel",
]
build-backend="setuptools.build_meta"

[tool.black]
line-length = 120
Expand Down
6 changes: 1 addition & 5 deletions setup.py
@@ -1,4 +1,4 @@
# Copyright 2016 - 2017 Alexey Stepanov aka penguinolog
# Copyright 2016 - 2019 Alexey Stepanov aka penguinolog
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
Expand Down Expand Up @@ -176,10 +176,6 @@ def get_simple_vars_from_src(src):
try:
if isinstance(node.value, ast_data):
value = ast.literal_eval(node.value)
elif isinstance(node.value, ast.Name) and isinstance( # NameConstant in python < 3.4
node.value.ctx, ast.Load # Read constant
):
value = ast.literal_eval(node.value)
else:
continue
except ValueError:
Expand Down

0 comments on commit 94a1f92

Please sign in to comment.