mirror of
https://github.com/e1ven/Robohash.git
synced 2025-06-23 21:35:02 +00:00

Some users have asked for an updated version in PyPI, so I'm doing some minor cleanup. No real functionality changes, just modernizing things that would be considered more standard 10+ years after this code was written. - Added note about maintenance mode in README - Cleaned up Python 3 compatibility (removed Python 2 support) - Added minimal test for image consistency - Added Docker image + GitHub workflow to build/publish it - Fixed some minor bugs and improved error handling - Added better CLI help text The project is now officially in maintenance mode as noted in the README.
49 lines
1.5 KiB
Python
49 lines
1.5 KiB
Python
try:
|
|
from setuptools import setup
|
|
except ImportError:
|
|
from distutils.core import setup
|
|
|
|
with open('README.md', encoding='utf-8') as file:
|
|
long_description = file.read()
|
|
|
|
setup(
|
|
name='robohash',
|
|
packages=['robohash'],
|
|
version='2.0a1',
|
|
description='One of the leading robot-based hashing tools on the web',
|
|
long_description=long_description,
|
|
long_description_content_type='text/markdown',
|
|
author='e1ven',
|
|
author_email='robo@robohash.org',
|
|
url='https://github.com/e1ven/Robohash',
|
|
download_url='https://github.com/e1ven/Robohash/tarball/2.0a1',
|
|
keywords=['robots', 'avatar', 'identicon'],
|
|
license='MIT',
|
|
classifiers=[
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.6",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Development Status :: 4 - Beta",
|
|
"Topic :: Security",
|
|
],
|
|
package_data={
|
|
'robohash': [
|
|
'sets/set1/*/*/*',
|
|
'sets/set2/*/*',
|
|
'sets/set3/*/*',
|
|
'sets/set4/*/*',
|
|
'sets/set5/*/*',
|
|
'backgrounds/*/*',
|
|
]
|
|
},
|
|
install_requires=['pillow>=9.1.1', 'natsort>=8.1.0'],
|
|
extras_require={
|
|
'web': ['tornado>=6.1'],
|
|
},
|
|
python_requires='>=3.6',
|
|
)
|