GitLab's annual major release is around the corner. Along with a lot of new and exciting features, there will be a few breaking changes. Learn more here.

setup.py 1.71 KB
Newer Older
Kyle Sunden's avatar
Kyle Sunden committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#! /usr/bin/env python3
import os
from setuptools import setup, find_packages


here = os.path.abspath(os.path.dirname(__file__))


def read(fname):
    return open(os.path.join(here, fname)).read()


with open(os.path.join(here, "yaqd_gdrive", "VERSION")) as version_file:
    version = version_file.read().strip()

16
extra_files = {"yaqd_gdrive": ["VERSION"]}
Kyle Sunden's avatar
Kyle Sunden committed
17 18 19 20 21 22

setup(
    name="yaqd-gdrive",
    packages=find_packages(exclude=("tests", "tests.*")),
    package_data=extra_files,
    python_requires=">=3.7",
Blaise Thompson's avatar
Blaise Thompson committed
23
    install_requires=["yaqd-core>=2020.05.1", "aiohttp"],
Kyle Sunden's avatar
Kyle Sunden committed
24 25 26 27 28
    extras_require={
        "docs": ["sphinx", "sphinx-gallery>=0.3.0", "sphinx-rtd-theme"],
        "dev": ["black", "pre-commit", "pydocstyle"],
    },
    version=version,
29
    description="Google Drive yaq daemon",
Blaise Thompson's avatar
Blaise Thompson committed
30 31
    long_description=read("README.md"),
    long_description_content_type="text/markdown",
Kyle Sunden's avatar
Kyle Sunden committed
32 33 34
    author="yaq Developers",
    license="LGPL v3",
    url="http://gitlab.com/yaq/yaqd-gdrive",
35 36 37 38 39
    project_urls={
        "Source": "https://gitlab.com/yaq/yaqd-gdrive",
        "Documentation": "https://yaq.fyi",
        "Issue Tracker": "https://gitlab.com/yaq/yaqd-gdrive/issues",
    },
Kyle Sunden's avatar
Kyle Sunden committed
40
    entry_points={"console_scripts": ["yaqd-gdrive=yaqd_gdrive._gdrive:GDrive.main"]},
Kyle Sunden's avatar
Kyle Sunden committed
41 42
    keywords="spectroscopy science multidimensional hardware",
    classifiers=[
43
        "Development Status :: 4 - Beta",
Kyle Sunden's avatar
Kyle Sunden committed
44 45 46 47 48
        "Intended Audience :: Science/Research",
        "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
        "Natural Language :: English",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.7",
49
        "Programming Language :: Python :: 3.8",
Kyle Sunden's avatar
Kyle Sunden committed
50 51 52
        "Topic :: Scientific/Engineering",
    ],
)