Skip to content

Commit

Permalink
release version 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed May 30, 2021
1 parent a29047d commit 4e49c01
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 43 deletions.
4 changes: 0 additions & 4 deletions aspen/renderers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,3 @@
from .simplates.renderers import Factory, Renderer

Factory, Renderer # make pyflakes happy

import warnings
warnings.warn('aspen.renderers is deprecated and will be removed in a future version. '
'Please use aspen.simplates.renderers instead.', FutureWarning)
64 changes: 27 additions & 37 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,42 +1,32 @@
from os.path import dirname, join

try:
import setuptools # noqa
except ImportError:
from ez_setup import use_setuptools
use_setuptools()

from setuptools import find_packages, setup

version = open('version.txt').read()


classifiers = [ 'Development Status :: 4 - Beta'
, 'Environment :: Console'
, 'Intended Audience :: Developers'
, 'License :: OSI Approved :: MIT License'
, 'Natural Language :: English'
, 'Operating System :: OS Independent'
, 'Programming Language :: Python :: 2.7'
, 'Programming Language :: Python :: 3.4'
, 'Programming Language :: Python :: 3.5'
, 'Programming Language :: Python :: 3.6'
, 'Programming Language :: Python :: 3.7'
, 'Programming Language :: Python :: Implementation :: CPython'
, 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application'
]
root = dirname(__file__)

setup( author = 'Chad Whitacre et al.'
, author_email = 'team@aspen.io'
, classifiers = classifiers
, description = 'A filesystem router for Python web frameworks'
, long_description=open(join(dirname(__file__), 'README.rst')).read()
, name = 'aspen'
, packages = find_packages()
, url = 'https://github.com/AspenWeb/aspen.py'
, version = version
, zip_safe = False
, package_data = {'aspen': ['request_processor/mime.types']}
, install_requires = open('requirements.txt').read()
, tests_require = open('requirements_tests.txt').read()
)
setup(
author = 'Chad Whitacre et al.',
author_email = 'team@aspen.io',
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
description = 'A filesystem router for Python web frameworks',
long_description=open(join(dirname(__file__), 'README.rst')).read(),
long_description_content_type='text/x-rst',
name = 'aspen',
url = 'https://github.com/AspenWeb/aspen.py',
version = open(join(root, 'version.txt')).read().strip(),
zip_safe = False,
packages = find_packages(),
package_data = {'aspen': ['request_processor/mime.types']},
install_requires = open(join(root, 'requirements.txt')).read(),
tests_require = open(join(root, 'requirements_tests.txt')).read(),
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py34,py35,py36,py37
envlist = py27,py35,py36,py37
skipsdist = True

[testenv]
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0rc7-dev
1.0

0 comments on commit 4e49c01

Please sign in to comment.