summaryrefslogtreecommitdiff
path: root/setup.py
blob: 482776182f6682f2a3c837cbd75cec3148907ed8 (plain)
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
36
37
38
39
40
41
42
43
44
45
46
#!/usr/bin/env python
# vim: ts=4 sw=4 et ai:
import os

from setuptools import setup


def read_file(fname):
    with open(os.path.join(os.path.dirname(__file__), fname)) as f:
        text = f.read()
    return text


if __name__ == "__main__":
    setup(
        name="tftpy",
        use_scm_version=True,
        description="Python TFTP library",
        long_description=read_file("README.rst"),
        long_description_content_type="text/x-rst; charset=UTF-8",
        author="Michael P. Soulier",
        author_email="msoulier@digitaltorque.ca",
        url="http://github.com/msoulier/tftpy",
        packages=["tftpy"],
        scripts=["bin/tftpy_client.py", "bin/tftpy_server.py"],
        project_urls={
            "Documentation": "http://tftpy.sourceforge.net/sphinx/index.html",
            "Source": "https://github.com/msoulier/tftpy/",
            "Tracker": "https://github.com/msoulier/tftpy/issues",
        },
        setup_requires=[
            "setuptools_scm[toml]",
            "setuptools_scm_git_archive >= 1.0",
        ],
        python_requires=">=3.6",
        classifiers=[
            "Programming Language :: Python :: 3",
            "Development Status :: 4 - Beta",
            "Environment :: Console",
            "Environment :: No Input/Output (Daemon)",
            "Intended Audience :: Developers",
            "License :: OSI Approved :: MIT License",
            "Operating System :: OS Independent",
            "Topic :: Internet",
        ],
    )