You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because I want exclude quite a lot of files from the dist I always create an sdist. I haven't worked with wheel very often but have previously managed to create a wheel from the sdist but not today.
I have created an sdist zip (being able to work with .tgz would be nicht, but okay)
This is the error message I get:
(openpyxl) Fuchsia:openpyxl charlieclark$ python setup.py sdist --formats=zip
(openpyxl) Fuchsia:openpyxl charlieclark$ wheel convert dist/openpyxl-2.5.10.zip
Traceback (most recent call last):
File "/Users/charlieclark/Projects/openpyxl/bin/wheel", line 11, in <module>
sys.exit(main())
File "/Users/charlieclark/Projects/openpyxl/lib/python3.5/site-packages/wheel/cli/__init__.py", line 82, in main
args.func(args)
File "/Users/charlieclark/Projects/openpyxl/lib/python3.5/site-packages/wheel/cli/__init__.py", line 35, in convert_f
convert(args.files, args.dest_dir, args.verbose)
File "/Users/charlieclark/Projects/openpyxl/lib/python3.5/site-packages/wheel/cli/convert.py", line 267, in convert
conv(installer, dest_dir)
File "/Users/charlieclark/Projects/openpyxl/lib/python3.5/site-packages/wheel/cli/convert.py", line 171, in wininst2wheel
info = parse_wininst_info(os.path.basename(path), egginfo_name)
File "/Users/charlieclark/Projects/openpyxl/lib/python3.5/site-packages/wheel/cli/convert.py", line 128, in parse_wininst_info
raise ValueError("Egg info filename %s is not valid" % (egginfo_name,))
ValueError: Egg info filename openpyxl-2.5.10/openpyxl/openpyxl.egg-info/PKG-INFO is not valid
Maybe it's just me being stupid but I really don't see why this is happening.
The text was updated successfully, but these errors were encountered:
The wheel convert command only converts eggs or wininst installers into wheels, not sdists. Are you sure you've read the documentation? Why are you not using setup.py bdist_wheel in the first place?
I'm closing this as invalid due to incorrect use of wheel convert, but if you can point me to your project, I can take a look and offer suggestions. One suggestion I can offer right away is the new wheel pack command which you can use to repack the wheel after you've trimmed the end result of bdist_wheel.
Because I want exclude quite a lot of files from the dist I always create an sdist. I haven't worked with wheel very often but have previously managed to create a wheel from the sdist but not today.
I have created an sdist zip (being able to work with
.tgz
would be nicht, but okay)This is the error message I get:
Maybe it's just me being stupid but I really don't see why this is happening.
The text was updated successfully, but these errors were encountered: