Commit Graph

258 Commits

Author SHA1 Message Date
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
Mikaela Suomalainen afdc8815f2 Revert "Merge pull request #657 from Mkaysi/links"
This reverts commit 497df2c14f, reversing
changes made to 21f75b8237.
2014-06-26 10:09:05 +03:00
Mikaela Suomalainen f4714638ad Revert "Add manual pages for Limnoria* commands as we already have the commands."
This reverts commit d8cd749a86.
2014-06-26 10:07:08 +03:00
Valentin Lorentz 7d716aa8f3 setup.py: Use UTC for version number. Closes GH-717. 2014-06-04 16:50:31 +02:00
Mikaela Suomalainen d8cd749a86 Add manual pages for Limnoria* commands as we already have the commands.
Squashed commit of the following:

commit 7397647f7f5c44a9e883b500b9342936c14c0188
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Tue Jun 3 16:23:30 2014 +0300

    setup.py: add missing ".1"s.

commit f9a95ebb4900a4b13b0f69fc674d4e9a7f7b019b
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Tue Jun 3 16:22:17 2014 +0300

    fix c48e9f087daf7c69eca8c01c4e52b5843039a119

    Limnoria, not Limnotia!

commit 467480325a4b6e90ac10875316867d9a218a4bc6
Author: Mikaela Suomalainen <mikaela.suomalainen@outlook.com>
Date:   Tue Jun 3 16:16:14 2014 +0300

    Add manual pages for limnoria*

    We already have binaries with name limnoria*, so it makes sense to also
    have manual pages.
2014-06-03 16:24:46 +03:00