|
31 | 31 | 'Natural Language :: English', |
32 | 32 | 'Operating System :: OS Independent', |
33 | 33 | 'Programming Language :: Python', |
34 | | - 'Topic :: Software Development :: Libraries :: Python Modules' |
| 34 | + 'Topic :: Software Development :: Libraries :: Python Modules' |
35 | 35 | ] |
36 | 36 |
|
37 | 37 | KEYWORDS = 'fedex soap suds wrapper' |
38 | 38 |
|
39 | 39 | class zip_docs(Command): |
40 | 40 | description = "Zip the docs directory in preparation for uploading to PyPi." |
41 | 41 | user_options = [] |
42 | | - |
| 42 | + |
43 | 43 | def initialize_options(self): |
44 | 44 | pass |
45 | | - |
| 45 | + |
46 | 46 | def finalize_options(self): |
47 | 47 | pass |
48 | | - |
| 48 | + |
49 | 49 | def run(self): |
50 | 50 | filename = "python-fedex-docs-%s.zip" % fedex.VERSION |
51 | 51 | file = open(filename, 'w') |
52 | 52 | zfile = ZipFile(file, 'w', ZIP_STORED) |
53 | | - |
| 53 | + |
54 | 54 | for file in os.listdir('docs'): |
55 | 55 | if file != '.svn': |
56 | 56 | zfile.write(os.path.join('docs', file), |
57 | | - arcname=file) |
| 57 | + arcname=file) |
58 | 58 | zfile.close() |
59 | | - |
60 | 59 |
|
61 | | -setup(name = 'fedex', |
62 | | - version = fedex.VERSION, |
63 | | - description = 'Fedex Web Services API wrapper.', |
64 | | - long_description = LONG_DESCRIPTION, |
65 | | - author = 'Gregory Taylor', |
66 | | - author_email = 'gtaylor@l11solutions.com', |
67 | | - url = 'http://code.google.com/p/python-fedex/', |
68 | | - download_url = 'http://pypi.python.org/pypi/fedex/', |
69 | | - packages = ['fedex', 'fedex.services'], |
70 | | - package_dir= {'fedex': 'fedex'}, |
71 | | - package_data = {'fedex': ['wsdl/*.wsdl', 'wsdl/test_server_wsdl/*.wsdl']}, |
72 | | - platforms = ['Platform Independent'], |
73 | | - license = 'GPLv3', |
74 | | - classifiers = CLASSIFIERS, |
75 | | - keywords = KEYWORDS, |
76 | | - requires = ['suds'], |
77 | | - cmdclass = {'zip_docs': zip_docs}, |
| 60 | + |
| 61 | +setup(name='fedex', |
| 62 | + version=fedex.VERSION, |
| 63 | + description='Fedex Web Services API wrapper.', |
| 64 | + long_description=LONG_DESCRIPTION, |
| 65 | + author='Gregory Taylor', |
| 66 | + author_email='snagglepants@gmail.com.com', |
| 67 | + url='http://code.google.com/p/python-fedex/', |
| 68 | + download_url='http://pypi.python.org/pypi/fedex/', |
| 69 | + packages=['fedex', 'fedex.services', 'fedex.printers'], |
| 70 | + package_dir={'fedex': 'fedex'}, |
| 71 | + package_data={'fedex': ['wsdl/*.wsdl', 'wsdl/test_server_wsdl/*.wsdl']}, |
| 72 | + platforms=['Platform Independent'], |
| 73 | + license='GPLv3', |
| 74 | + classifiers=CLASSIFIERS, |
| 75 | + keywords=KEYWORDS, |
| 76 | + requires=['suds'], |
| 77 | + cmdclass={'zip_docs': zip_docs}, |
78 | 78 | ) |
0 commit comments