Hi all,
Previously, when I made a new release, the newly released one will be the latest version for the users to install. However, today, I tried several times for making a new release. The latest version is always the old one.
The “latest version” which is old one (1.1.0): ANNOgesic · PyPI
I do have the newly released ones: ANNOgesic · PyPI It also show that this one is the latest version…
But when I tried to install it, the installed package is 1.1.0 which is the old one. If I typed pip3 install ANNOgesic==1.1.4 it will show
ERROR: Could not find a version that satisfies the requirement ANNOgesic==1.1.4
ERROR: No matching distribution found for ANNOgesic==1.1.4
The command that I used for uploading my code is the following
python3 setup.py sdist bdist_wheel
twine upload dist/*
the content of setup.py is:
from os import path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
here = path.abspath(path.dirname(file))
with open(path.join(here, ‘README.rst’)) as f:
long_description = f.read()
setup(
name=‘ANNOgesic’,
version=‘1.1.4’,
packages=[‘annogesiclib’],
author=‘Sung-Huan Yu’,
author_email=‘silasysh@g-mail.nsysu.edu.tw’,
description=‘ANNOgesic - A tool for bacterial/archaeal RNA-Seq based genome annotations’,
long_description=long_description,
url=https://github.com/Sung-Huan/ANNOgesic
install_requires=[
“biopython >= 1.65”,
“matplotlib >= 1.5.0”,
“numpy >= 1.9.2”,
“networkx >= 1.9.1”
],
scripts=[‘bin/annogesic’],
license=‘ISC License (ISCL)’,
classifiers=[
‘License :: OSI Approved :: ISC License (ISCL)’,
‘Operating System :: POSIX’,
‘Programming Language :: Python :: 3’,
‘Topic :: Scientific/Engineering :: Bio-Informatics’,
]
)
I do not know what happens… How can I make the new release to be the latest version and the user can install the newly released one by using pip3 install?
Silas