Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
cleanup of setup.py and correct classifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
obriencj committed Sep 29, 2015
1 parent dc91eb8 commit d539a36
Showing 1 changed file with 32 additions and 21 deletions.
53 changes: 32 additions & 21 deletions setup.py
Expand Up @@ -25,37 +25,48 @@
"""


from setuptools import setup, Extension
try :
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension

ext = [ Extension("withscope._frame", ["withscope/frame.c"]), ]

setup( name = "withscope",
version = "0.9.0",
TROVE_CLASSIFIERS = (
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved"
" :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2 :: Only",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Python Modules",
)

packages = [ "withscope" ],

ext_modules = ext,
ext_frame = Extension("withscope._frame", ["withscope/frame.c"])

test_suite = "tests",

# PyPI information
author = "Christopher O'Brien",
author_email = "obriencj@gmail.com",
url = "https://github.com/obriencj/python-withscope",
license = "GNU Lesser General Public License",
setup(name = "withscope",
version = "0.9.0",

description = "Hack stack frames to provide local scopes via"
" the managed interface.",
packages = ["withscope"],
ext_modules = [ext_frame],

provides = [ "withscope" ],
requires = [],
platforms = [ "python2 >= 2.6" ],
test_suite = "tests",

zip_safe = True,
zip_safe = True,

classifiers = ["Intended Audience :: Developers",
"Programming Language :: Python :: 2",
"Topic :: Software Development"], )
# PyPI information
author = "Christopher O'Brien",
author_email = "obriencj@gmail.com",
url = "https://github.com/obriencj/python-withscope",
license = "GNU Lesser General Public License",

description = "Context manager providing nesting lexical scopes",

classifiers = TROVE_CLASSIFIERS)

#
# The end.

0 comments on commit d539a36

Please sign in to comment.