File: setup.py

package info (click to toggle)
mergedeep 1.3.4-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 240 kB
  • sloc: python: 476; makefile: 71; sh: 16
file content (32 lines) | stat: -rw-r--r-- 1,060 bytes parent folder | download
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
import setuptools, os


def open_local(paths, mode="r", encoding="utf8"):
    path = os.path.join(os.path.abspath(os.path.dirname(__file__)), *paths)
    return open(path, mode=mode, encoding=encoding)


with open_local(["README.md"]) as f:
    long_description = f.read()

setuptools.setup(
    name="mergedeep",
    author="Travis Clarke",
    author_email="travis.m.clarke@gmail.com",
    description="A deep merge function for 🐍.",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/clarketm/mergedeep",
    python_requires=">=3.6",
    packages=setuptools.find_packages(),
    package_data={"mergedeep": ["py.typed"]},
    classifiers=[
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
)