Skip to content

Commit

Permalink
setup.py: Switch to setuptools; tweak meta data
Browse files Browse the repository at this point in the history
  • Loading branch information
1st1 committed Dec 18, 2012
1 parent 9ca361f commit d390caa
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions setup.py
Expand Up @@ -7,7 +7,7 @@


import sys
from distutils.core import setup, Extension
from setuptools import setup, Extension


if sys.version_info[:2] < (3, 3):
Expand All @@ -24,8 +24,10 @@
long_description=readme,
maintainer='Sprymix Inc.',
maintainer_email='info@sprymix.com',
license='BSD',
url='http://github.com/sprymix/metamagic.json',
platforms=['any'],
keywords='json',
ext_modules=[
Extension('metamagic.json._encoder',
sources=['metamagic/json/_encoder/_encoder.c'],
Expand All @@ -37,7 +39,8 @@
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: C',
'Programming Language :: Python :: 3'
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3'
],
packages=[
'metamagic.json',
Expand All @@ -46,5 +49,6 @@
],
package_data = {
'metamagic.json._encoder': ['*.c', '*.h']
}
},
include_package_data=True
)

0 comments on commit d390caa

Please sign in to comment.