setup.py 1.21 KB
Newer Older
1
from subprocess import Popen, PIPE
2 3
import setuptools

4 5 6 7 8 9 10
try:
    process = Popen(['git', 'describe', '--exact-match', '--tags'], stdout=PIPE, stderr=PIPE)
    stdout, stderr = process.communicate()
    version = stdout.decode('ascii')
except:
    raise

11 12 13 14 15
with open("README.md", "r") as fh:
    long_description = fh.read()

setuptools.setup(
    name="myplotlib",
16
    version=version,
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
    author='Yori Fournier, Philipp Gast',
    author_email='y.fournier@aip.de ???',
    description='clean alternative to pyplot -- a wrapper around core API of matplotlib',
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="git@gitlab.aip.de:yfournier/myplotlib.git",
    install_requires=['matplotlib>=2'],
    keywords='matplotlib plotting visualisation',
    packages=setuptools.find_packages(),
    classifiers=[
        'Development Status :: 4 - Beta'
        'Environment :: Console',
        'Environment :: Jupyter Notebook',
        'Intended Audience :: Scientists and Data Analysts',
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: CC-BY-SA",
        "Operating System :: Linux and OSX",
        'Topic :: Visualisation',

    ],
    python_requires='>=3.6',
)