Skip to content
Snippets Groups Projects
setup.py 1.17 KiB
Newer Older
  • Learn to ignore specific revisions
  • Martin's avatar
    Martin committed
    #!/usr/bin/env python3
    
    import os
    
    from setuptools import setup
    
    Martin's avatar
    Martin committed
    
    
    from web import __version__
    
    Martin's avatar
    Martin committed
    rootdir = os.path.abspath(os.path.dirname(__file__))
    
    # Get the long description from the README file
    with open(os.path.join(rootdir, "README.md")) as in_file:
        long_description = in_file.read()
    
    
    Martin's avatar
    Martin committed
    setup(
        name="web.py",
        version=__version__,
        description="web.py: makes web apps",
        author="Aaron Swartz",
        author_email="me@aaronsw.com",
        maintainer="Anand Chitipothu",
        maintainer_email="anandology@gmail.com",
        url="http://webpy.org/",
        packages=["web", "web.contrib"],
    
    Martin's avatar
    Martin committed
        install_requires=["cheroot"],
        long_description=long_description,
        long_description_content_type="text/markdown",
    
    Martin's avatar
    Martin committed
        license="Public domain",
        platforms=["any"],
    
    Martin's avatar
    Martin committed
        python_requires=">=3.5",
    
    Martin's avatar
    Martin committed
        classifiers=[
    
    Martin's avatar
    Martin committed
            "License :: Public Domain",
    
    Martin's avatar
    Martin committed
            "Programming Language :: Python",
            "Programming Language :: Python :: 3",
            "Programming Language :: Python :: 3.5",
            "Programming Language :: Python :: 3.6",
            "Programming Language :: Python :: 3.7",
    
    Martin's avatar
    Martin committed
            "Programming Language :: Python :: 3.8",
            "Programming Language :: Python :: 3.9",