-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Finding project links on GitHub requires scrolling #201
Comments
Fwiw, those links are at the bottom of the page under Reference. |
Bottom of the page is not really easily discoverable, in fact it is likely to even require scrolling in order to spot it. What I am curious is if you have anything against using things like setuptools-scm, which can address these. If not, I would probably be able to propose a patch to upgrade packaging bits, and also address this aspect. |
I’m open to switching to something better than setup.py for my projects but I haven’t found anything that beats the flexibility of a Python script. As a maintainer, it’s nice to use the same packaging tools for all my packages and I’ve found the newer tools don’t handle Cython/C modules so well. Can setup.py really not support those links? Or could it live alongside setup.cfg? Maybe it’s easiest just to have both for a couple of extra links. |
@grantjenks hey, I just discovered this project on twitter but finding the repo was quite hard(I ended up googling it). I understand Changing the packaging tools you use is out of question. Maybe a link at the top of readme would be suitable? |
Having read through the docs, I think it's just a matter of adding |
I've made a pull request with the addition of |
* Remove unused "env" setting from pytest section * Remove nose references * Fixes for pylint in Python 3.8 * Update 2019 date references to 2020 * Update references to Python 2 support * Remove Python 2 shims * Add flake8 to linters and fix issues * Add locked method to Lock * Add paragraph to caveats about cache volume for Issue #140 * Bump version to 5.0.0 * Remove Python 2 mapping methods keys/values/items/iter*/view* * Update tests for Python 3 * Bump version to 5.0.1 * Bump version to 5.0.2 * Add python_requires kwarg to setup * Bump version to 5.0.3 * Prevent cache shard attribute access when unsafe * Support transactions in FanoutCache (probably a bad idea) * Bump version to 5.1.0 * Use no hardcoded /tmp/diskcache/... paths in tests * replace open mode 'w' to 'x' * Use disk provided by the user whenever possible * Remove transaction from Deque.__init__ When initializing a Deque, a transaction was used to extend elements from the given iterable. The transaction is not used in Index.__init__ or in the FanoutCache.fromcache API. Users that want Deque.__init__ to use a transaction as before should use: d = Deque() with d.transact(): d.extend(iterable) The transaction is therefore explicit and consistent with other APIs. * Use the same Disk in FanoutCache as in Index and Deque subdirs * Remove travis and appveyor in favor of GitHub Actions * Rewrite k/v store benchmarking to avoid IPython "magic" syntax * Update development requirements for editable install * I blue it * Make imports consistent with isort * Increase max attributes to 8 * Tell mypy to ignore django * Remove useless `dataset` target * Ignore type errors when setting class attributes * Add django to deps for sphinx and pylint * Tell doc8 to ignore docs/_build dir * Update flake8 configs * Flake8 fixes (mostly removing useless module imports) * Update pylint and fix code * Update Sphinx and re-gen conf.py * Update copyright year * Update readme badges and CI notes * Pin jedi for ipython * Skip help() examples when running doctest * Fix configs for pytest * Add branch coverage and decrease coverage minimum to 96 * Ignore more .coverage files * Bump version to 5.2.0 * Install libmemcached-dev for release action * Bump version to 5.2.1 * Add Python 3.9 support trove classifier. * Run integration on pull requests * Fix typo * Fix the URL to Django documentation for cache. * remove leftovers from Travis and AppVeyor Both were removed in favor of GitHub actions. * remove unused imports * Ignore pylint's consider-using-with in Disk.fetch * Simplify ENOENT handling around fetch() and remove() * Add doc about IOError * Add notes about changes to store() and remove() * Update remove to cleanup parent dirs * Remove logic from filename() for creating directories * Modify store() to create the subdirs when writing the file (1 of 4) * Refactor file writing logic to retry makedirs * Add test for Lock.locked() * Test re-entrancy of "rlock" * Delete EACCESS error tests * Test Cache.memoize() with typed kwargs * Test JSONDisk.get by iterating cache * Increase coverage to 97% * Add test for cleaning up dirs * Add TODO for testing Disk._write * Add tests for Disk._write * Add a pragma "no cover" statements and increase threshold to 98 * Blue fixes (mostly docstring triple quotes) * Pylint fixes * Disable no-self-use in Disk._write * Add `ignore` to memoize() * Fixes for blue * Fixes #201 added github repo to project_urls * Fixup formatting for project urls * Stop using ENOVAL in args_to_key() * Add caveat about inconsistent pickles * Bug Fix: Use "ignore" keyword argument with Index.memoize() * Drop old Ubuntu from integration testing * docs: fix typo * Disable consider-using-f-string * Support for Python 3.10 in testing (#238) * Add support for Python 3.10 * Update copyright to 2022 * Bump version to 5.3.0 * Add Python 3.10 to the README * Update tests for Django 3.2 * Fix DjangoCache.delete to return True/False * Bump Django testing to 3.2 * Remove unused imports * Run isort * Bump version to 5.4.0 * Put commands above deps for doc8 testenv * Update rsync command for uploading docs * Remove unused import * Update Cache(...) params when allocating * Add docs about the eviction policy to recipes * Test on Django 4.2 LTS * Update year to 2023 * Bump python testing to 3.11 * i blue it * Update requirements * Update pylint * Drop Python 3.7 from testing * Update tests for Django 4.2 * Bump version to v5.5.0 * Drop 3.7 from CI * Install dev requirements for wheel package * Bump version to 5.5.1 * Close the cache explicitly before deleting the reference * Oops, close the cache, not the deque * Shutup pylint * Bump version to 5.5.2 * Bump versions of checkout and setup-python * Add maxlen parameter to diskcache.Deque (#191) * Add maxlen parameter to diskcache.Deque * Bump version to 5.6.0 * Fix docs re: JSONDisk * Support pathlib.Path as directory argument * Bump version to 5.6.1 * Bug fix: Fix peek when value is so large that a file is used (#288) Error caused by copy/paste from pull(). * Bump version to 5.6.2 * Update release.yml to use pypa/gh-action-pypi-publish * Bump version to 5.6.3 * Fix a few things after merging. Signed-off-by: Andrea Odetti <mariofutire@gmail.com> * Fix blue check. Signed-off-by: Andrea Odetti <mariofutire@gmail.com> * Fix pylint errors R0904 and R0915. Signed-off-by: Andrea Odetti <mariofutire@gmail.com> * Add read-only tests. Signed-off-by: Andrea Odetti <mariofutire@gmail.com> --------- Signed-off-by: Andrea Odetti <mariofutire@gmail.com> Co-authored-by: Grant Jenks <grant.jenks@gmail.com> Co-authored-by: ume <bungoume@gmail.com> Co-authored-by: Cologler <skyoflw@gmail.com> Co-authored-by: C2D <50617709+i404788@users.noreply.github.com> Co-authored-by: Omer Katz <omer.drow@gmail.com> Co-authored-by: Joakim Nordling <joakim.nordling@gmail.com> Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com> Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com> Co-authored-by: Abhinav Omprakash <55880260+AbhinavOmprakash@users.noreply.github.com> Co-authored-by: artiom <artiom.lunev@gmail.com>
Current package metadata is missing some important links that those towards source code or issue tracker. That is why the presence on https://pypi.org/project/diskcache/ does not expose them on the left sidebar.
While I am not 100%, my impression is that adding the new fields would require replacing the deprecated use of setup.py with setup.cfg (this does not imply PEP-517.)
To give an example of a package using more metadata, look at https://pypi.org/project/mk/ and you will see more links including some exposing number of issues open and pull requires (this is done by pypi automatically). The magic properties that enable this are at https://github.com/pycontribs/mk/blob/main/setup.cfg#L13-L15
The text was updated successfully, but these errors were encountered: