I have setup.py
like this:
setup(
name='pyomexmeta',
version=version,
license='MIT',
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
author='Ciaran Welsh',
author_email='cwelsh2@uw.edu',
url='https://github.com/sys-bio/libomexmeta',
keywords=['annotation', 'rdf'],
# install_requires=open('requirements.txt').read().split('\n'),
install_requires=["pypiwin32"],
packages=['pyomexmeta'],
package_dir={'pyomexmeta': 'src/pyomexmeta'},
package_data={'pyomexmeta': [
'LICENCE.txt',
] + binaries},
include_package_data=True,
classifiers=[_f for _f in CLASSIFIERS.split('\n') if _f],
platforms=["Windows", "Linux", "Unix"], # "Mac OS-X", - not yet supported.
)
The important part for this question in install_requires=['pypiwin32']
. When I try to install my package from testpypi
inside a fresh conda environment I get an error:
PS D:\libOmexMeta> conda create -y --name omex python=3.7
PS D:\libOmexMeta> conda activate omex
PS D:\libOmexMeta> pip install --index-url https://test.pypi.org/simple/ pyomexmeta
The error I get is this:
ERROR: Could not find a version that satisfies the requirement pypiwin32 (from pyomexmeta) (from versions: none)
ERROR: No matching distribution found for pypiwin32 (from pyomexmeta)
yet, when I do
PS D:\libOmexMeta> pip install pypiwin32
it installs without fail.
Anybody know what's going on here?
Note, same thing happenes with pywin32
.