Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

register.py 534B

123456789101112131415161718
  1. from distutils import log
  2. import distutils.command.register as orig
  3. class register(orig.register):
  4. __doc__ = orig.register.__doc__
  5. def run(self):
  6. try:
  7. # Make sure that we are using valid current name/version info
  8. self.run_command('egg_info')
  9. orig.register.run(self)
  10. finally:
  11. self.announce(
  12. "WARNING: Registering is deprecated, use twine to "
  13. "upload instead (https://pypi.org/p/twine/)",
  14. log.WARN
  15. )