Skip to content

Commit

Permalink
Fix for correctly removing module in Cryptodome
Browse files Browse the repository at this point in the history
  • Loading branch information
Legrandin committed Nov 26, 2018
1 parent 07bf61a commit 94b71fc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,6 @@ def create_cryptodome_lib():
),
]

# Add compiler specific options.
set_compiler_options(package_root, ext_modules)

if use_separate_namespace:

# Fix-up setup information
Expand All @@ -442,6 +439,8 @@ def create_cryptodome_lib():
if os.path.isdir("lib/Crypto"):
create_cryptodome_lib()

# Add compiler specific options.
set_compiler_options(package_root, ext_modules)

# By doing this we need to change version information in a single file
with open(os.path.join("lib", package_root, "__init__.py")) as init_root:
Expand Down

0 comments on commit 94b71fc

Please sign in to comment.