
from distutils.core import setup

setup(name='webracer',
    version='0.2.0',
    description='Comprehensive web application testing library',
    author='Oleg Pudeyev',
    author_email='oleg@bsdpower.com',
    url='http://github.com/p/webracer',
    packages=['webracer', 'webracer.utils'],
    data_files=['LICENSE', 'README.rst'],
)


from distutils.core import setup
import os.path

PACKAGE = "webracer"

setup(name=PACKAGE,
    version='0.2.0',
    description='Comprehensive web application testing library',
    author='Oleg Pudeyev',
    author_email='oleg@bsdpower.com',
    url='http://github.com/p/webracer',
    packages=['webracer', 'webracer.utils'],
    data_files=[(os.path.join('share', 'doc', PACKAGE), ('LICENSE', 'README.rst'))],
)

Put license and readme into share/doc/webracer rather than installation root
Put license and readme into share/doc/webracer rather than installation root

  
  from distutils.core import setup
+ import os.path
  
- setup(name='webracer',
+ PACKAGE = "webracer"
+ 
+ setup(name=PACKAGE,
      version='0.2.0',
      description='Comprehensive web application testing library',
      author='Oleg Pudeyev',
      author_email='oleg@bsdpower.com',
      url='http://github.com/p/webracer',
      packages=['webracer', 'webracer.utils'],
-     data_files=['LICENSE', 'README.rst'],
+     data_files=[(os.path.join('share', 'doc', PACKAGE), ('LICENSE', 'README.rst'))],
  )
  
Put license and readme into share/doc/webracer rather than installation root
## Code Before:

from distutils.core import setup

setup(name='webracer',
    version='0.2.0',
    description='Comprehensive web application testing library',
    author='Oleg Pudeyev',
    author_email='oleg@bsdpower.com',
    url='http://github.com/p/webracer',
    packages=['webracer', 'webracer.utils'],
    data_files=['LICENSE', 'README.rst'],
)

## Instruction:
Put license and readme into share/doc/webracer rather than installation root
## Code After:

from distutils.core import setup
import os.path

PACKAGE = "webracer"

setup(name=PACKAGE,
    version='0.2.0',
    description='Comprehensive web application testing library',
    author='Oleg Pudeyev',
    author_email='oleg@bsdpower.com',
    url='http://github.com/p/webracer',
    packages=['webracer', 'webracer.utils'],
    data_files=[(os.path.join('share', 'doc', PACKAGE), ('LICENSE', 'README.rst'))],
)
