Skip to content

Commit d6e62b3

Browse files
committed
Avoid bpython imports in setup.py
1 parent b94ccc2 commit d6e62b3

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name = bpython
33
long_description = file: README.rst
44
license = MIT
55
license_files = LICENSE
6+
author = Bob Farrell, Andreas Stuehrk, Sebastian Ramacher, Thomas Ballinger, et al.
7+
author_email = bpython@googlegroups.com
68
url = https://www.bpython-interpreter.org/
79
project_urls =
810
GitHub = https://github.com/bpython/bpython

setup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,7 @@ def git_describe_to_python_version(version):
124124

125125
cmdclass = {"build": build}
126126

127-
from bpython import package_dir, __author__
128-
129-
translations_dir = os.path.join(package_dir, "translations")
127+
translations_dir = os.path.join("bpython", "translations")
130128

131129
# localization options
132130
if using_translations:
@@ -179,8 +177,6 @@ def git_describe_to_python_version(version):
179177

180178
setup(
181179
version=version,
182-
author=__author__,
183-
author_email="robertanthonyfarrell@gmail.com",
184180
data_files=data_files,
185181
package_data={
186182
"bpython": ["sample-config"],

0 commit comments

Comments
 (0)