Commit Graph

262 Commits

Author SHA1 Message Date
Valentin Lorentz
16b7183c28 Add python 3.8 classifier. 2020-05-05 19:54:51 +02:00
James Lu
94ca4cc810 setup.py: migrate shebang to Python 3 2020-01-05 11:35:00 -08:00
James Lu
1ab9f4642e setup.py: remove obsolete version_info conditionals
None of these will run since the base version is now Python 3.4.
2020-01-05 11:32:42 -08:00
Valentin Lorentz
864b1759e3 Drop support for Python versions before 3.4. 2020-01-01 12:07:59 +01:00
Valentin Lorentz
8b2cbbc583 Use a monotonic time for registry cache.
So an old cache does not take precedence over a newly set value.
I noticed this bug because of the time going backward in tests
because of the time.time mock introduced in
dcf55cf6de, but this may happen
in production systems too.

Also adds another deprecation warning for python < 3.3.
2019-10-05 22:29:11 +02:00
Valentin Lorentz
219ac6d154 Include plugins setup.py in installed files / release tarballs. 2019-09-15 08:03:12 +02:00
Valentin Lorentz
71dbd39dd7 Revert changes to the structure of sdist packages.
c87aacb690
b882d1cc00
b1db15c056
2019-02-23 00:12:06 +01:00
Valentin Lorentz
c87aacb690 Fix prefix commit. 2019-02-21 22:43:09 +01:00
Valentin Lorentz
b882d1cc00 Fix PyPI packages.
It was broken by b1db15c056.
2019-02-21 22:34:31 +01:00
cottongin
d20e418fd0 adds supybot-reset-password script 2019-01-15 21:45:26 +01:00
Valentin Lorentz
b1db15c056 Add a symlink supybot pointing to src/ + move locales/ to src/
This looks like a more standard source tree, and allows for running tests without installing.
2019-01-02 14:29:32 +01:00
Valentin Lorentz
4693537055 Clarify warning. 2019-01-02 11:26:55 +01:00
Valentin Lorentz
2ee0be35cb setup: Add DeprecationWarning for Python 2. 2019-01-02 10:55:36 +01:00
Alexandre Gauthier
69e1b6f0da Fix time namespaces in setup.py when version file is unavailable 2018-08-03 13:57:53 +02:00
Valentin Lorentz
36309ad1dc If SOURCE_DATE_EPOCH is available, use it to get a proper version instead of 'installed on'.
#1338
2018-06-01 08:29:51 +02:00
Bernhard M. Wiedemann
cd8ad1edb6 Allow to override build date
in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.
2018-06-01 08:24:20 +02:00
John L. Villalovos
626443bf30 setup.py: Remove unneeded import of match for ceil() function
The ceil() function was previously used in setup.py was removed by
commit c3a2c800f1. So we no longer need
it.
2018-04-03 18:08:08 -07:00
Valentin Lorentz
64f27eff74 Clean up previous commit. 2018-01-13 00:08:22 +01:00
Valentin Lorentz
b6af3baf6d UTC calculation fix in setup.py
* Streamlined all date calculation based on git timestamps.
    * Removed incorrect utc_date calculation.
    * Minimised the code differences for Python versions (down to one line).
    * Changed the git show command to leverage the output displaying the
      number of seconds since the epoch.
    * Thus making the final UTC calculation simply a function of
      specifying that in a time.gmtime call instead of attempting offset
      based calculations (which the original code got wrong).
2018-01-13 00:05:14 +01:00
Valentin Lorentz
bf658246f6 setup.py: Fix download url. 2017-02-24 20:36:09 +01:00
Valentin Lorentz
abfc499be6 Update README and list of classifiers. 2016-11-05 08:51:29 +01:00
Valentin Lorentz
eba2be7e87 https:// for the builds URL. 2016-03-24 23:18:42 +01:00
Valentin Lorentz
f1390b1aec Improve SSL-related version warnings. 2016-02-24 17:25:51 +01:00
Valentin Lorentz
b34ee949cb Remove debug expression I shouldn't have committed. 2016-02-23 19:11:47 +00:00
Valentin Lorentz
880addf256 Add link to FAQ items on how to upgrade to Python 3. 2016-02-22 20:18:37 +01:00
Valentin Lorentz
d922af1043 Verify server certificate, and deprecate Python < 2.7.9. Closes GH-1031. 2016-02-21 13:20:09 +01:00
Valentin Lorentz
661a32d1a9 Drop the '0.83.4.1+limnoria' part of version numbers, and make packages use the actual version instead of install time. 2016-02-21 10:13:50 +01:00
Valentin Lorentz
f2e726d3e7 setup.py: Add Python 3.5 support classifier. 2016-02-04 21:05:31 +01:00
Valentin Lorentz
6a669c1483 setup.py: Actually, don't recommend Python 2.7. 2015-12-10 18:39:36 +01:00
Valentin Lorentz
567def69c3 setup.py: Improve/update classifiers. 2015-11-11 10:08:09 +01:00
Valentin Lorentz
3047ea7acb Add warning in setup.py about Python 2.6. 2015-09-20 15:50:43 +02:00
Valentin Lorentz
c01a956a8b utils: Remove dependency on parent package. 2015-08-30 17:33:39 +02:00
Valentin Lorentz
c3a2c800f1 Remove need for 2to3. 2015-08-11 16:50:23 +02:00
Valentin Lorentz
f305ff3c02 Remove fix_basestring. 2015-08-10 20:24:11 +02:00
Valentin Lorentz
2c380a4c3a Remove fix_xrange. 2015-08-10 19:36:07 +02:00
Valentin Lorentz
be6bc1a734 Remove need for fix_unicode. 2015-08-10 18:52:51 +02:00
Valentin Lorentz
34d384bd67 Remove need for fix_methodattrs. 2015-08-10 18:09:52 +02:00
Valentin Lorentz
c0ac84bb53 Remove need for fix_import, fix_types, and fix_urllib. 2015-08-10 17:55:25 +02:00
Valentin Lorentz
3991faf7ee Fix setup.py. 2015-08-10 09:13:32 +02:00
Valentin Lorentz
216c5d213f Replace sys.version_info[0] usages with minisix.PY{2,3}. 2015-08-09 00:23:03 +02:00
Valentin Lorentz
5a82cefd51 Remove use of fix_long fixer. 2015-08-08 23:08:49 +02:00
Valentin Lorentz
be118c3338 Remove use of fix_dict fixer. 2015-08-08 23:08:49 +02:00
Valentin Lorentz
39e0073b8f Revert "setup.py: Run refactoring in parallel."
This reverts commit 3bc8758cf1.
2015-05-15 13:31:36 +02:00
Valentin Lorentz
3bc8758cf1 setup.py: Run refactoring in parallel. 2015-05-15 13:16:51 +02:00
Valentin Lorentz
29de1e137d Fix 2to3 progression percentage (no long go over 100%). 2015-02-07 08:15:42 +01:00
Valentin Lorentz
733349cb4a Remove 2to3/__pycache__ before making a source dist. Closes GH-946. 2014-12-22 00:22:30 +01:00
Mikaela Suomalainen
0b9e54ebcf remove docs/ && move manpages to man/ 2014-12-08 09:52:42 +02:00
Valentin Lorentz
3973244d82 Undo modifications made in 6f19088724 (merge from Supybot) to setup.py. 2014-07-18 15:38:13 +00:00
Valentin Lorentz
0a9d6469f0 Make dependency on python-mock optional. 2014-07-12 10:01:59 +02:00
Valentin Lorentz
6f19088724 Merge remote-tracking branch 'supybot/master' into testing
Conflicts:
	.gitignore
	plugins/Alias/plugin.py
	plugins/Anonymous/plugin.py
	plugins/Anonymous/test.py
	setup.py
	src/callbacks.py
2014-07-12 09:48:27 +02:00