diff options
-rw-r--r-- | tests/setup.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/setup.py b/tests/setup.py index fc20401..ed1a894 100644 --- a/tests/setup.py +++ b/tests/setup.py @@ -13,7 +13,6 @@ PACKAGE_NAME = 'asn1crypto' PACKAGE_VERSION = '1.3.0' TEST_PACKAGE_NAME = '%s_tests' % PACKAGE_NAME TESTS_ROOT = os.path.dirname(os.path.abspath(__file__)) -PACKAGE_ROOT = os.path.abspath(os.path.join(TESTS_ROOT, '..')) # setuptools 38.6.0 and newer know about long_description_content_type, but @@ -60,7 +59,7 @@ class EggInfoCommand(egg_info): if not os.path.exists(egg_info_path): os.mkdir(egg_info_path) shutil.copy2( - os.path.join(PACKAGE_ROOT, 'LICENSE'), + os.path.join(TESTS_ROOT, 'LICENSE'), os.path.join(egg_info_path, 'LICENSE') ) egg_info.run(self) |