| OLD | NEW |
| (Empty) |
| 1 #!/usr/bin/env python | |
| 2 # Copyright 2012 Google Inc. All Rights Reserved. | |
| 3 # | |
| 4 # Licensed under the Apache License, Version 2.0 (the "License"); | |
| 5 # you may not use this file except in compliance with the License. | |
| 6 # You may obtain a copy of the License at | |
| 7 # | |
| 8 # http://www.apache.org/licenses/LICENSE-2.0 | |
| 9 # | |
| 10 # Unless required by applicable law or agreed to in writing, software | |
| 11 # distributed under the License is distributed on an "AS IS" BASIS, | |
| 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 13 # See the License for the specific language governing permissions and | |
| 14 # limitations under the License. | |
| 15 | |
| 16 """Creates a distributable python package. | |
| 17 | |
| 18 Creating new packages: | |
| 19 1. Generate the package, dist/webpagereplay-X.X.tar.gz: | |
| 20 python setup.py sdist | |
| 21 2. Upload the package file to the following: | |
| 22 http://code.google.com/p/web-page-replay/downloads/entry | |
| 23 | |
| 24 Installing packages: | |
| 25 $ easy_install http://web-page-replay.googlecode.com/files/webpagereplay-X.X.t
ar.gz | |
| 26 - The replay and httparchive commands are now on your PATH. | |
| 27 """ | |
| 28 | |
| 29 import setuptools | |
| 30 | |
| 31 setuptools.setup( | |
| 32 name='webpagereplay', | |
| 33 version='1.1.2', | |
| 34 description='Record and replay web content', | |
| 35 author='Web Page Replay Project Authors', | |
| 36 author_email='web-page-replay-dev@googlegroups.com', | |
| 37 url='http://code.google.com/p/web-page-replay/', | |
| 38 license='Apache License 2.0', | |
| 39 install_requires=['dnspython>=1.8'], | |
| 40 packages=[ | |
| 41 '', | |
| 42 'third_party', | |
| 43 'third_party.ipaddr' | |
| 44 ], | |
| 45 package_dir={'': '.'}, | |
| 46 package_data={ | |
| 47 '': ['*.js', '*.txt', 'COPYING', 'LICENSE'], | |
| 48 }, | |
| 49 entry_points={ | |
| 50 'console_scripts': [ | |
| 51 'httparchive = httparchive:main', | |
| 52 'replay = replay:main', | |
| 53 ] | |
| 54 }, | |
| 55 ) | |
| OLD | NEW |