annotate setup.py @ 71:88adf10be709 draft

Add tests.
author David Barts <n5jrn@me.com>
date Mon, 15 Jul 2019 13:16:31 -0700
parents a78c74c73d98
children e8b3b336e63e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
65
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
1 #!/usr/bin/env python
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
2
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
3 import sys
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
4 from setuptools import setup
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
5
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
6 if sys.version_info < (3, 4):
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
7 raise NotImplementedError("Sorry, you need at least Python 3.4 TinCan.")
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
8
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
9 setup(name='TinCanFramework',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
10 version='0.1.0',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
11 description='Simple code-behind WSGI framework for small web-applications, implemented on top of bottle.',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
12 author="David W. Barts",
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
13 author_email="tincan@bartsent.com",
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
14 url='http://bartsent.com/tincan.pspx',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
15 py_modules=['tincan'],
70
a78c74c73d98 Get rid of bogus "None" messages in the standard error pages.
David Barts <n5jrn@me.com>
parents: 65
diff changeset
16 scripts=['tincan.py', 'bin/install-static', 'bin/launch'],
65
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
17 license='MIT',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
18 platforms='any',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
19 install_requires=['bottle>=0.12.0'],
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
20 classifiers=['Development Status :: 4 - Beta',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
21 "Operating System :: OS Independent",
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
22 'Intended Audience :: Developers',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
23 'License :: OSI Approved :: MIT License',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
24 'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
25 'Topic :: Internet :: WWW/HTTP :: HTTP Servers',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
26 'Topic :: Internet :: WWW/HTTP :: WSGI',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
27 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
28 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
29 'Topic :: Internet :: WWW/HTTP :: WSGI :: Server',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
30 'Topic :: Software Development :: Libraries :: Application Frameworks',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
31 'Programming Language :: Python :: 2.7',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
32 'Programming Language :: Python :: 3',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
33 'Programming Language :: Python :: 3.4',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
34 'Programming Language :: Python :: 3.5',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
35 'Programming Language :: Python :: 3.6',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
36 'Programming Language :: Python :: 3.7',
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
37 ],
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
38 )
d59811b95a62 Package-ize it.
David Barts <n5jrn@me.com>
parents:
diff changeset
39