mit neuen venv und exe-Files

This commit is contained in:
2024-11-03 17:26:54 +01:00
parent 07c05a338a
commit 0c373ff593
15115 changed files with 1998469 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
=======
Credits
=======
Development Lead
----------------
* Daniel Roy Greenfeld <pydanny@gmail.com>
Contributors
------------
* Edward Betts (@EdwardBetts)
* Nick Coghlan (@ncoghlan)
* rooterkyberian (@rooterkyberian)
* OhenebaAduhene (@OhenebaAduhene)

View File

@@ -0,0 +1 @@
pip

View File

@@ -0,0 +1,12 @@
Copyright (c) 2015-2016, Daniel Roy Greenfeld
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of whichcraft nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -0,0 +1,172 @@
Metadata-Version: 2.1
Name: whichcraft
Version: 0.6.1
Summary: This package provides cross-platform cross-python shutil.which functionality.
Home-page: https://github.com/pydanny/whichcraft
Author: Daniel Roy Greenfeld
Author-email: pydanny@gmail.com
License: BSD
Keywords: whichcraft
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
===============================
whichcraft
===============================
.. image:: https://badge.fury.io/py/whichcraft.svg
:target: http://badge.fury.io/py/whichcraft
.. image:: https://travis-ci.org/pydanny/whichcraft.svg?branch=master
:target: https://travis-ci.org/pydanny/whichcraft
.. image:: https://codecov.io/gh/pydanny/whichcraft/branch/master/graph/badge.svg
:target: http://codecov.io/github/pydanny/whichcraft?branch=master
.. image:: https://ci.appveyor.com/api/projects/status/v9coijayykhkeu4d?svg=true
:target: https://ci.appveyor.com/project/pydanny/whichcraft
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/ambv/black
:alt: Code style: black
::
That code in my care
That sly command-line stare
That strips my operating system bare
It's whichcraft
This package provides cross-platform cross-python ``shutil.which`` functionality.
Usage
=====
On Linux, Mac, Windows for Python 2.7 or any of the maintained 3s:
.. code-block:: python
>>> from whichcraft import which
>>> which('date')
'/bin/date'
>>> which('calendar')
'/bin/calendar'
>>> which('cookiecutter')
'/Users/pydanny/.envs/fun/bin/cookiecutter'
>>> which('a-made-up-name') is None
True
Notes
=====
This is a shim of the ``shutil.which`` function that's designed to work across
multiple versions of Python and inside of windows. The code for Python 2.x is
based on Python 3 code that I extracted from source. I originally did this for
Cookiecutter_ but pulled it out in order to reduce line count for that project.
Edgecase: Date function works perfectly on mac os and linux system, hence returns string.
But is an in-built function in windows hence returns none as value when called in
windows.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
Sponsor
=======
This work is sponsored by BriteCore, which does awesome things with Python, Django, JavaScript, and AWS. `Apply for a job if you're interested!`_
.. image:: https://avatars1.githubusercontent.com/u/967173?s=200&v=4
:target: http://engineering-application.britecore.com/
:alt: Code style: black
.. _BriteCore: https://www.britecore.com/
.. _`Apply for a job if you're interested!`: http://engineering-application.britecore.com/
History
=========
0.6.1 (2019-09-06)
---------------------
* Fix versioning issue
0.6.0 (2019-07-12)
---------------------
* Remove lingering unicode issues
* Add BriteCore as a sponsor
0.5.3 (2018-10-10)
---------------------
* Add BriteCore as a sponsor
0.5.2 (2018-10-09)
---------------------
* Remove any mention of 3.2 and 3.3
0.5.1 (2018-10-09)
---------------------
* Fix setup.py so it works with older Python
0.5.0 (2018-10-09)
---------------------
* Add 3.7 support thanks to @rooterkyberian
* Remove any mention of 2.6
0.4.2 (2018-04-16)
---------------------
* Use black for code formatting
* Move status to production/stable
* Drop Python 2.6 and 3.3 support
0.4.1 (2017-04-25)
---------------------
* Added tests to support Python 3.6
0.3.1 (2016-05-10)
---------------------
* Now testing for `which` directly, so we can support versions of Python 3 before 3.3 (@nickcoghlan)
0.3.1 (2016-04-24)
---------------------
* Correcting version in whichcraft.py
0.3.0 (2016-04-24)
---------------------
* Include tests in release source tarball (@Edwardbetts)
0.2.0 (2016-04-23)
---------------------
* Python 3.5 compatability
0.1.1 (2015-09-09)
---------------------
* Added lyrics
0.1.0 (2015-09-09)
---------------------
* First release on PyPI.

View File

@@ -0,0 +1,9 @@
__pycache__/whichcraft.cpython-312.pyc,,
whichcraft-0.6.1.dist-info/AUTHORS.rst,sha256=Y0XPYwoQhQt9XbprIMgTzV8uglUKFqWEYP3UZ-vvpi4,258
whichcraft-0.6.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
whichcraft-0.6.1.dist-info/LICENSE,sha256=n71RpK0Ii5kBFDiVbTazuc0wmKqdazJmdWN4BJYLYN8,1483
whichcraft-0.6.1.dist-info/METADATA,sha256=xxvlaEWTsmIr1ULC2Nr249I2Hwe29dnPeVlAluD19rk,4374
whichcraft-0.6.1.dist-info/RECORD,,
whichcraft-0.6.1.dist-info/WHEEL,sha256=h_aVn5OB2IERUjMbi2pucmR_zzWJtk303YXvhh60NJ8,110
whichcraft-0.6.1.dist-info/top_level.txt,sha256=wPmypPyZ-IEwCZ3_RA4N6AtD5qNCrythctNZYrmANrE,11
whichcraft.py,sha256=shRQHSa61RgwYR6zsMMHstumoVuWJtovvrJ5z-OiOvY,2881

View File

@@ -0,0 +1,6 @@
Wheel-Version: 1.0
Generator: bdist_wheel (0.33.4)
Root-Is-Purelib: true
Tag: py2-none-any
Tag: py3-none-any

View File

@@ -0,0 +1 @@
whichcraft