Commit Graph

152 Commits

Author SHA1 Message Date
Avinash Karhana 135e9c1369 Fixed useless `else` cluase after loop inside `get_version` function in setup.py 2020-07-11 02:15:29 +05:30
Sumana Harihareswara cef69fef7f Updated author email in configuration and tests
Per https://groups.google.com/d/msg/pypa-dev/rUNsfIbruHM/LCEx-CB5AgAJ
the pypa-dev Google Group is now decommissioned.
Using distutils-sig instead as author/maintainer email.

Signed-off-by: Sumana Harihareswara <sh@changeset.nyc>
2020-05-28 16:51:02 -04:00
Ville Skyttä 4fa167e433 Add Changelog project URL
Background info at
  https://github.com/pypa/warehouse/pull/7882#issue-412444446
2020-05-06 08:25:35 +03:00
Noah Gorny 48dcfdf7d0 setup: Save vendor.txt as package data as well 2020-04-10 22:27:47 +03:00
Hugo van Kemenade 99f582185e
Add docs and repo to project_urls metadata 2020-01-10 23:33:05 +02:00
Chris Hunt 82a2651f93 Move pip._internal.main to cli submodule
Moving this out of the way gives us the flexibility to define wrappers
that will redirect requests to our old entrypoints to our new one.
2019-12-18 21:09:22 -05:00
Christopher Hunt 717f6c90ae
setup.py: Simplify version extraction (#6004)
* setup.py: Simplify version extraction

This removes `re` dependency

* Create 6004.removal

* Keep read() function according to review

* Rename news item to .trivial per review

* Remove extra escapes
2019-11-18 09:43:59 +08:00
Chris Hunt 2b6ed33f4c Remove extra escapes 2019-11-17 20:08:56 -05:00
Christopher Hunt fde92e72a4
Merge pull request #7219 from hugovk/add-3.8
Declare support for Python 3.8
2019-10-17 09:22:03 -04:00
robin elisha robinson 58dd0c3491 Change %s string formatting to str.format in setup.py (#7199) 2019-10-17 11:23:19 +02:00
Hugo f235e675c0 Declare support for Python 3.8 2019-10-15 18:40:43 +03:00
anatoly techtonik 0eff60851d
Keep read() function according to review 2019-10-07 21:01:20 +03:00
Maxim Kurnikov 3692097cca add per-file disallow_untyped_defs=False, and set it to True globally 2019-09-29 23:31:15 +02:00
Chris Hunt 09fd200c59 Move `pip._internal:main` to its own module
Moving content out of `__init__` is preferred in general because it
avoids conflicts with module names and unnecessary imports.
2019-09-21 15:27:39 -04:00
Hugo 2c1010ee96 Drop support for EOL Python 3.4 2019-07-07 11:45:16 +03:00
anatoly techtonik 105045b885
setup.py: Simplify version extraction
This removes `re` dependency
2018-11-11 22:52:16 +03:00
Pradyun Gedam b3473b329d
Merge branch 'master' into python-3.7 2018-07-24 23:08:09 +05:30
Pradyun Gedam 92cc86b5c9
Satisfy the linter 2018-07-05 11:27:11 +05:30
Pradyun Gedam 26d45a667d
Document and test support for Py3.7 2018-07-03 01:01:15 +05:30
Pradyun Gedam c2b1ce9fdc
Fix lint errors on newly covered files 2018-06-25 17:04:00 +05:30
Pradyun Gedam bb6df11eae
Revert "Make it black."
This reverts commit a86e149593.
2018-06-06 20:18:04 +05:30
Pradyun Gedam a86e149593
Make it black. 2018-05-31 11:44:15 +05:30
Pradyun Gedam 1f56ddd624
Update the setup.py file
- Remove outdated testing dependencies
- Update mailing list URL
- Group similar arguments together
- Use sys.version_info instead of sys.version for executable names
- Update keywords to mention wheel as well
2018-05-30 16:36:20 +05:30
Donald Stufft 90b3db476f Drop support for Python 3.3 2018-05-17 13:34:48 -04:00
Jon Dufresne feab014b13 Add missing trove classifiers for supported CPython implementations (#4804) 2017-10-22 23:55:05 +05:30
Jon Dufresne 9b42a2b7de Fix ResourceWarning generated by setup.py when warnings are enabled
Appears as:

  ResourceWarning: unclosed file ...

Always explicitly close open files. Use context manager to make this
easier.
2017-10-18 21:57:02 +02:00
Donald Stufft 95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
Bartek Ogryczak 8be075d120 fix for 'pretend' and 'scripttest>=1.3' requirements getting concatenated 2017-05-09 11:07:09 -07:00
Donald Stufft 55c43aa364 Removed setup.py test support 2017-03-30 16:52:49 -04:00
Cooper Lees 0772ab3e24 - Change the pip outdated check to use PackageFinder to find current
PyPI versions
-- Replaces the always phone back to pypi.python.org JSON call
-- This allows us specify a local mirror to be use to query for updated
version and respects other set options
-- Update tests
-- Fix setup.py to include freezegun for tests
2017-03-23 10:50:02 -07:00
Donald Stufft 59cb562d59 Fix up some bookkeeping 2017-03-18 14:52:14 -04:00
Hugo 3b541c0f5e Python 3.6 is supported (#4241) 2017-01-18 18:41:30 +01:00
Xavier Fernandez 17df548ce9 Specify the supported python version via python_requires (#3860) 2016-07-21 12:49:53 -04:00
Francesco Montesano f4694100e0 Add ``pretend`` to list of test_requires 2016-02-02 13:50:46 +01:00
Donald Stufft b11cb019a4 Drop support for Python 3.2 2015-10-01 09:36:16 -04:00
Donald Stufft 2912910b44 Do a (slightly) less insane thing to handle debundling
Previously we attempt to do some crazy things with import hooks
in order to attempt to automatically alias normally installed
dependencies as our vendored dependencies. This turned out to be
fairly fragile, so instead we'll manually patch sys.modules to
trigger the aliasing.

As part of this, we also drop support for the
PIP_NO_VENDOR_FOR_DOWNSTREAM environment variable because it was
never fully supported and now that we have wheel caching, actually
using it could possibly trigger a bad wheel to be cached. The new
mechanism requires some light patching by downstream to opt into
the mechanism, so they can also easily remove all of the files
in pip/_vendor/ except for __init__.py.
2015-06-23 22:27:47 -04:00
Donald Stufft 487d7a51b4 Also exclude package_data when running with NO_VENDOR 2014-11-20 19:55:13 -05:00
Donald Stufft 86bad49818 Address Feedback from @ncoghlan 2014-11-20 07:53:57 -05:00
Donald Stufft 2d5ef69aa8 Add a warning to the setup.py if used with no bundled 2014-11-20 07:53:57 -05:00
Donald Stufft 79fbaf66a1 Conditionally install the pip._vendor items 2014-11-20 07:53:57 -05:00
Donald Stufft de06287947 Ensure that package_data is correct and the MANIFEST.in is correct 2014-09-29 11:05:46 -04:00
Donald Stufft a4fec67bba Merge branch 'master' into develop
Conflicts:
	.travis.yml
	CHANGES.txt
	PROJECT.txt
	README.rst
	docs/installing.rst
	pip/__init__.py
	pip/_vendor/vendor.txt
	setup.py
	tox.ini
2014-05-03 02:37:03 -04:00
Donald Stufft 23caaf35c2 Update documentation to point at https://pip.pypa.io/ 2014-05-02 20:08:13 -04:00
Donald Stufft 5a76a47d3b Fix code to handle the latest flake8 2014-03-26 18:24:19 -04:00
Marcus Smith af1d6d52a3 have pip just be an installer for simplicity. remove the vague "manage" description. 2014-03-11 09:08:52 -07:00
Marcus Smith f2a9d7403e have setup.py long_description just be README.rst 2014-03-01 11:12:03 -08:00
Marcus Smith 8e63c60946 update python support in classifiers 2014-03-01 10:38:46 -08:00
Donald Stufft 9dcdbb548f Generate AUTHORS using git log 2014-02-26 12:51:37 -05:00
Donald Stufft 9f027337a8 Use Flake8 on the test of pip's Python files 2014-01-28 19:47:58 -05:00
Donald Stufft 814514e1bd Rename pip.vendor.* to pip._vendor.* to ensure it's obviously private 2013-10-22 21:32:25 -04:00