1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
import subprocess
from setuptools import setup, find_packages
from os.path import dirname, isdir, join
PREFIX = "0.1.%s"
with open(join(dirname(__file__), "README.md"), encoding="utf-8") as f:
long_description = f.read()
def get_version():
path = join(dirname(__file__), ".version")
with open(path, "r") as f:
version = f.read()
return version
setup(
name="customidenticon",
version=get_version(),
description="Python3 library for generate a variety of identicons",
long_description=long_description,
long_description_content_type="text/markdown",
keywords="identicon image avatar profile github custom customidenticon",
author="LexSerest",
author_email="lexserest@gmail.com",
maintainer="LexSerest",
maintainer_email="lexserest@gmail.com",
url="https://github.com/lexserest/customidenticon",
license="MIT",
packages=find_packages(),
install_requires=[
"pillow",
],
)
|