Commit Graph

282 Commits

Author SHA1 Message Date
Valentin Lorentz
8859e1ce51 setup.py: Add Python 3.11 and 3.12 to classifiers. 2023-05-21 18:50:24 +02:00
Valentin Lorentz
c333af9a44 Add alternative name 'limnoria-' in addition to 'supybot-*' for scripts
The 'supybot-*' variants will be deprecated in a year or two,
to give distributions time to provide the new names before updating
install/usage documentation.
2022-06-17 11:48:27 +02:00
Valentin Lorentz
0572d49988 Use setuptools 'entry_points' instead of distutils-style 'scripts'
A future commit will add aliases for these scripts, and using entry_points
will make them easier to set up.
2022-06-17 11:45:31 +02:00
Valentin Lorentz
52271d2e6e setup.py: Deduplicate script list 2022-06-17 09:11:55 +02:00
Valentin Lorentz
a65960bfdf Add missing man page for supybot-reset-password. 2022-06-17 09:09:20 +02:00
Valentin Lorentz
c7fa33b8be setup.py: Use the website's URL instead of the repo's 2022-01-26 19:03:47 +01:00
Valentin Lorentz
74f86654b1 Remove fallbacks for old Python versions. 2022-01-01 18:11:36 +01:00
Valentin Lorentz
181e34baf9 setup.py + CI: Remove support for Python 3.4 and 3.5 2022-01-01 17:49:12 +01:00
Valentin Lorentz
8053d74e71 setup.py: Fix typo 2021-12-18 19:38:49 +01:00
Valentin Lorentz
d1191d1c89 setup.py: Remove 3.4 and 4.5 from the classifiers 2021-12-18 18:37:26 +01:00
Valentin Lorentz
49c7c30627 setup.py: Remove reference to supybot from the short description 2021-12-18 18:36:48 +01:00
Valentin Lorentz
068488c546 Fix sdists created by newer setuptools versions.
This caused the PyPI package to be broken since I upgraded
my computer from Debian bullseye
2021-11-20 14:41:42 +01:00
Valentin Lorentz
a5cd930a4b Update CI/setup.py/README: Python 3.10 is now released. 2021-11-08 21:30:00 +01:00
Valentin Lorentz
63eb6672ea Revert generic 'The Limnoria Contributors' in copyright notices
This commit reverts db7ef3f025
(though it keeps the year updates)

After discussion with several people, it seems better to mention
copyright owners explicitly. eg. https://reuse.software/faq/#vcs-copyright
explains the issue of using VCSs to track copyright.

As db7ef3f025 only replaced mentions
of my name with 'The Limnoria Contributors', this commit only needs
to undo that + add one person who contributed to setup.py.
2021-10-17 09:57:55 +02:00
Valentin Lorentz
dc79ab193a Update capitalization of my Github username 2021-09-14 20:30:47 +02:00
Valentin Lorentz
cbd2b31d8f Add error message in case setuptools is not installed. 2021-08-12 21:32:24 +02:00
Ian Wienand
37ba0ef7be setup.py: switch import to setuptools
Switch to standard setuptools import, add suggested entries to
pyproject.toml.

Remove the --clean argument.  As the comment suggests I'm sure there
is history here, but having setup.py remove parts of the package does
not seem like something required at this point.

Also clean up the imports to remove unused and group them together at
the top.
2021-08-12 21:23:48 +02:00
Valentin Lorentz
db7ef3f025 all: Add generic 'The Limnoria Contributors' to copyright notices.
No need to bother with details (that are all outdated / out of sync
anyway), just look up the git history.
2021-08-01 21:54:49 +02:00
Valentin Lorentz
aa6bd7257d Deprecate Python 3.4 and 3.5. 2021-07-15 22:29:56 +02:00
Valentin Lorentz
2990fcd302 README+setup: Update supported Python versions 2021-03-13 13:15:41 +01:00
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