How to use the demoji.__version__ function in demoji

To help you get started, weโ€™ve selected a few demoji examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github bsolomon1124 / demoji / setup.py View on Github external
import os
from setuptools import setup

from demoji import __version__

# PyPI upload:
# $ python setup.py sdist bdist_wheel
# $ twine upload dist/demoji-x.y.z*

setup(
    name="demoji",
    version=__version__,
    author="Brad Solomon",
    author_email="brad.solomon.1124@gmail.com",
    description="Accurately remove and replace emojis in text strings.",
    license="Apache 2.0",
    keywords=[
        "emoji",
        "emojis",
        "nlp",
        "natural langauge processing",
        "unicode",
    ],
    url="https://github.com/bsolomon1124/demoji",
    packages=["demoji"],
    long_description=open(
        os.path.join(os.path.abspath(os.path.dirname(__file__)), "README.md")
    ).read(),