import maec

from setuptools import setup, find_packages

setup(
    name="maec",
    version=maec.__version__,
    author="MAEC Project",
    author_email="maec@mitre.org",
    description="An API for parsing and creating MAEC content.",
    url="http://maec.mitre.org",
    packages=find_packages(),
    install_requires=['lxml>=2.3','cybox>=2.1.0.0,<2.2.0.0']
)

@@ -1,60 +1,603 @@
-import maec%0A%0Afrom setuptools import setup, find_packages
+# Copyright (c) 2014, The MITRE Corporation. All rights reserved.%0A# See LICENSE.txt for complete terms.%0A%0Afrom os.path import abspath, dirname, join%0Afrom setuptools import setup, find_packages%0A%0AINIT_FILE = join(dirname(abspath(__file__)), 'maec', '__init__.py')%0A%0Adef get_version():%0A    with open(INIT_FILE) as f:%0A        for line in f.readlines():%0A            if line.startswith(%22__version__%22):%0A                version = line.split()%5B-1%5D.strip('%22')%0A                return version%0A        raise AttributeError(%22Package does not have a __version__%22)%0A%0Awith open('README.rst') as f:%0A    readme = f.read()
 %0A%0Ase
@@ -634,22 +634,19 @@
 ion=
-maec._
+get
 _version
 __,%0A
@@ -641,18 +641,18 @@
 _version
-__
+()
 ,%0A    au
@@ -772,16 +772,45 @@
 tent.%22,%0A
+    long_description=readme,%0A
     url=
@@ -898,16 +898,17 @@
 l%3E=2.3',
+ 
 'cybox%3E=
@@ -922,14 +922,262 @@
 ,%3C2.
-2.0.0'
+1.1.0'%5D,%0A    classifiers=%5B%0A        %22Programming Language :: Python%22,%0A        %22Development Status :: 4 - Beta%22,%0A        %22Intended Audience :: Developers%22,%0A        %22License :: OSI Approved :: BSD License%22,%0A        %22Operating System :: OS Independent%22,%0A    
 %5D%0A)%0A

Update setup.py