| | |
| | | # |
| | | ############################################################################## |
| | | from setuptools import find_packages, setup |
| | | from pkg_resources import parse_version |
| | | |
| | | |
| | | def readfile(name): |
| | |
| | | |
| | | README = readfile('README.rst') |
| | | CHANGES = readfile('CHANGES.rst') |
| | | |
| | | VERSION = '1.10a1' |
| | | |
| | | install_requires = [ |
| | | 'hupper', |
| | |
| | | 'virtualenv', # for scaffolding tests |
| | | ] |
| | | |
| | | base_version = parse_version(VERSION).base_version |
| | | |
| | | # black is refusing to make anything under 80 chars so just splitting it up |
| | | docs_fmt = 'https://docs.pylonsproject.org/projects/pyramid/en/{}-branch/' |
| | | docs_url = docs_fmt.format(base_version) |
| | | |
| | | setup( |
| | | name='pyramid', |
| | | version='1.10a1', |
| | | version=VERSION, |
| | | description='The Pyramid Web Framework, a Pylons project', |
| | | long_description=README + '\n\n' + CHANGES, |
| | | classifiers=[ |
| | |
| | | "Topic :: Internet :: WWW/HTTP :: WSGI", |
| | | "License :: Repoze Public License", |
| | | ], |
| | | keywords='web wsgi pylons pyramid', |
| | | keywords=['web', 'wsgi', 'pylons', 'pyramid'], |
| | | author="Chris McDonough, Agendaless Consulting", |
| | | author_email="pylons-discuss@googlegroups.com", |
| | | url="https://trypyramid.com", |
| | | project_urls={ |
| | | 'Documentation': docs_url, |
| | | 'Changelog': '{}/whatsnew-{}.html'.format(docs_url, base_version), |
| | | 'Issue Tracker': 'https://github.com/Pylons/pyramid/issues', |
| | | }, |
| | | license="BSD-derived (http://www.repoze.org/LICENSE.txt)", |
| | | packages=find_packages('src', exclude=['tests']), |
| | | package_dir={'': 'src'}, |