Skip to content
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

Apply docs revamp #2397

Merged
merged 81 commits into from
Sep 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
6068b81
docs: reduced top index to three entries
alvyjudy May 10, 2020
836e485
doc: move python 2to3 doc into deprecated folder
alvyjudy May 10, 2020
7b16d48
doc: move easy_install file into deprecated folder
alvyjudy May 10, 2020
6ff2ea5
doc: rename formats.txt as python-eggs.txt
alvyjudy May 10, 2020
5c08e39
doc: move python_eggs.txt to deprecated folder
alvyjudy May 10, 2020
7e95617
docs: change top index depth to one
alvyjudy May 10, 2020
bbed9d6
docs: added index for deprecated files
alvyjudy May 10, 2020
d6769eb
Doc: added changelog.d news fragment
alvyjudy May 10, 2020
d2fe061
Merge pull request #2097 from alvyjudy/improve-doc
jaraco May 10, 2020
28a1b18
docs: created folder and index for userguide
alvyjudy May 11, 2020
7008a98
docs: update userguide index
alvyjudy May 11, 2020
ef435da
docs: migrate basic use to quickstart
alvyjudy May 11, 2020
7971245
docs: migrated keywords ref to keywords.txt
alvyjudy May 11, 2020
9175f89
docs: add commands ref entry in userguide index
alvyjudy May 11, 2020
9ea37ed
docs: migrate commands ref to commands.txt
alvyjudy May 11, 2020
14bae05
docs: migrate functionality info to separate file
alvyjudy May 11, 2020
39206c0
docs: add functionality entry in userguide index
alvyjudy May 11, 2020
086c2a3
docs: migrate declarative config to separate file
alvyjudy May 11, 2020
0a0d6f1
docs: add entry to userguide index
alvyjudy May 11, 2020
6b4ffa0
docs: modify entry in top level index
alvyjudy May 11, 2020
911000d
docs: add new fragment
alvyjudy May 11, 2020
327eda0
Merge pull request #2102 from alvyjudy/doc-2
jaraco May 12, 2020
c12db09
docs: migrated section for versioning
alvyjudy May 13, 2020
e50590a
docs: removed unnecessary transition paragraph
alvyjudy May 13, 2020
7d3317d
docs: migrated section
alvyjudy May 13, 2020
5fe6715
docs: WIP rewrite functionalities
alvyjudy May 14, 2020
a6acf0b
docs: update functionalities.txt
alvyjudy May 14, 2020
54314cb
docs: put the remaining functionalities into misce
alvyjudy May 14, 2020
88f2489
docs: merge function walkthrough into quickstart
alvyjudy May 14, 2020
5d0859f
docs: update userguide index
alvyjudy May 14, 2020
c0794ed
docs: udpate title of quickstart
alvyjudy May 14, 2020
6c6568d
docs: dedicate file for package discovery
alvyjudy May 14, 2020
127cfdf
docs: udpate package_discovery.txt
alvyjudy May 14, 2020
092aec6
docs: dedicate a file for entry points
alvyjudy May 14, 2020
385b40d
docs: update userguide index to match filename
alvyjudy May 14, 2020
34f1fa1
docs: dedicate a file for dependency management
alvyjudy May 14, 2020
bf6e567
docs: udpate quickstart to match ref file
alvyjudy May 14, 2020
503d22a
docs: dedicate a file for development mode
alvyjudy May 14, 2020
6f43f47
docs: update index to match filename
alvyjudy May 14, 2020
7b4f1b0
docs: dedicate a file for datafiles support
alvyjudy May 14, 2020
5be9afe
docs: dedicate a file for distribution guide
alvyjudy May 14, 2020
a99713c
docs: dedicate a file for extending setuptools
alvyjudy May 14, 2020
f5c9ad1
docs: dedicate a file for miscel functionalities
alvyjudy May 14, 2020
30db740
added news fragment
alvyjudy May 14, 2020
c1a36a3
Merge pull request #2111 from alvyjudy/doc
jaraco May 15, 2020
04dbe6f
docs: WIP update quickstart guide
alvyjudy May 18, 2020
cdf8524
docs: made quickstart pkg section declarative
alvyjudy May 20, 2020
780b91b
docs: changed some mistaken explanation in quickst
alvyjudy May 25, 2020
8dbae6e
docs: update quickstart
alvyjudy May 25, 2020
b2af2ea
docs: update quickstart
alvyjudy May 25, 2020
ffc6226
docs: incoporate PR1765
alvyjudy May 25, 2020
992ecc0
docs: proper invocation of pep517
alvyjudy May 25, 2020
b13e4a2
docs: add dev mode section in quickstart
alvyjudy May 26, 2020
044ea40
Merge pull request #2147 from alvyjudy/incorporate-1765
jaraco May 26, 2020
62f8101
Merge pull request #2146 from alvyjudy/doc
jaraco May 26, 2020
d51059a
docs: WIP detailed guide on pkg discovery
alvyjudy May 26, 2020
9b87e89
docs: detail pkg discover guide and namespace pkg
alvyjudy May 26, 2020
e53fe0d
docs: cover pkgutil style namespace pkg
alvyjudy May 27, 2020
70c8c0f
Mention that `namespace_packages` is omitted.
jaraco May 27, 2020
00d5185
Merge pull request #2149 from alvyjudy/pkgdiscovery
jaraco May 27, 2020
01a8762
DOC: fix link missing >
Carreau May 27, 2020
1639d01
docs: detail userguide for entry point WIP
alvyjudy May 26, 2020
45e7846
docs: update entry point userguide
alvyjudy May 27, 2020
3eb1cec
docs: guide on entry point completed
alvyjudy May 28, 2020
1459bb4
docs: fixed mistaken explanation
alvyjudy May 28, 2020
fdf51a0
docs: editing user guide on dependency management
alvyjudy May 28, 2020
00888dd
docs: more finetuning on dependency guide
alvyjudy May 28, 2020
89e852c
docs: restored notes on "require()" function
alvyjudy May 28, 2020
dfe2ef5
Correct some of the behaviors indicated in new entry points docs. Swi…
jaraco Jun 15, 2020
a5b144e
Merge pull request #2154 from alvyjudy/entrypoint
jaraco Jul 3, 2020
dbc968a
docs: remove editorial message and lengthy description of dependency …
alvyjudy Jul 30, 2020
3268c19
docs: reference PEP440 for versions specifiers
alvyjudy Jul 30, 2020
bd3d57d
docs: give python requirement a dedicated section
alvyjudy Jul 30, 2020
e716c18
docs: remove mentioning of multiversion install
alvyjudy Jul 30, 2020
5df7ee4
docs: remove note on "require" functionality
alvyjudy Jul 30, 2020
dee83be
docs: rephrased the introduction for optional dependencies
alvyjudy Jul 30, 2020
f2564d7
Merge pull request #2157 from alvyjudy/dependency
jaraco Aug 16, 2020
0342c9f
Merge commit '619e229' into feature/2093-docs-revamp
jaraco Sep 23, 2020
412d2e1
Merge commit 'd6bcf5e' into feature/2093-docs-revamp
jaraco Sep 23, 2020
f852d15
Merge commit '52c394c' into feature/2093-docs-revamp
jaraco Sep 23, 2020
8cca69b
Merge branch 'master' into feature/2093-docs-revamp
jaraco Sep 23, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/2097.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
doc: simplify index and group deprecated files
1 change: 1 addition & 0 deletions changelog.d/2102.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
doc overhaul step 2: break main doc into multiple sections
1 change: 1 addition & 0 deletions changelog.d/2111.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
doc overhaul step 3: update userguide
File renamed without changes.
File renamed without changes.
33 changes: 33 additions & 0 deletions docs/deprecated/functionalities.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
"Eggsecutable" Scripts
----------------------

.. deprecated:: 45.3.0

Occasionally, there are situations where it's desirable to make an ``.egg``
file directly executable. You can do this by including an entry point such
as the following::

setup(
# other arguments here...
entry_points={
"setuptools.installation": [
"eggsecutable = my_package.some_module:main_func",
]
}
)

Any eggs built from the above setup script will include a short executable
prelude that imports and calls ``main_func()`` from ``my_package.some_module``.
The prelude can be run on Unix-like platforms (including Mac and Linux) by
invoking the egg with ``/bin/sh``, or by enabling execute permissions on the
``.egg`` file. For the executable prelude to run, the appropriate version of
Python must be available via the ``PATH`` environment variable, under its
"long" name. That is, if the egg is built for Python 2.3, there must be a
``python2.3`` executable present in a directory on ``PATH``.

IMPORTANT NOTE: Eggs with an "eggsecutable" header cannot be renamed, or
invoked via symlinks. They *must* be invoked using their original filename, in
order to ensure that, once running, ``pkg_resources`` will know what project
and version is in use. The header script will check this and exit with an
error if the ``.egg`` file has been renamed or is invoked via a symlink that
changes its base name.
19 changes: 19 additions & 0 deletions docs/deprecated/index.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
======================================================
Guides on backward compatibility & deprecated practice
======================================================

``Setuptools`` has undergone tremendous changes since its first debut. As its
development continues to roll forward, many of the practice and mechanisms it
had established are now considered deprecated. But they still remain relevant
as a plethora of libraries continue to depend on them. Many people also find
it necessary to equip themselves with the knowledge to better support backward
compatibility. This guide aims to provide the essential information for such
objectives.

.. toctree::
:maxdepth: 1

python3
python_eggs
easy_install
distutils-legacy
File renamed without changes.
File renamed without changes.
13 changes: 4 additions & 9 deletions docs/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,8 @@ designed to facilitate packaging Python projects.
Documentation content:

.. toctree::
:maxdepth: 2
:maxdepth: 1

setuptools
pkg_resources
python3
development
roadmap
Deprecated: Easy Install <easy_install>
distutils-legacy
history
User guide <userguide/index>
Development guide <development>
Backward compatibility & deprecated practice <deprecated/index>
File renamed without changes.
Loading