Commits

marklap committed 094505b

prepare to push to pypi

Comments (0)

Files changed (2)

 PUSHD %ME_PATH%
 
 REM epydocs
-%PYTHON_BIN% %EPYDOC_SCRIPT% --css .\src\build\epydoc.css --html .\src\%PKG_NAME% --output .\apidocs\%PKG_NAME% -v
+%PYTHON_BIN% %EPYDOC_SCRIPT% --css src\build\epydoc.css --html src\%PKG_NAME% --output apidocs\%PKG_NAME% -v
+IF EXIST docs\_build\html\api RMDIR /S /Q docs\_build\html\api
+XCOPY /E /I /Q apidocs\%PKG_NAME% docs\_build\html\api
 IF EXIST docs\%PKG_NAME%.apidoc.zip DEL apidocs\%PKG_NAME%.apidoc.zip
 IF EXIST docs\%PKG_NAME%.apidoc.tar.gz DEL apidocs\%PKG_NAME%.apidoc.tar.gz
+PUSHD docs\_build\html\
+%ZIP_BIN% a -tzip -r %PKG_NAME%.htmldoc.zip *
+POPD
+IF EXIST docs\%PKG_NAME%.htmldoc.zip DEL docs\%PKG_NAME%.htmldoc.zip
+MOVE docs\_build\html\%PKG_NAME%.htmldoc.zip docs\%PKG_NAME%.htmldoc.zip
 %ZIP_BIN% a -tzip -r apidocs\%PKG_NAME%.apidoc.zip apidocs\%PKG_NAME%\*
 %ZIP_BIN% a -ttar -r %PKG_NAME%.apidoc.tar apidocs\%PKG_NAME%\*
 %ZIP_BIN% a -tgzip -r apidocs\%PKG_NAME%.apidoc.tar.gz %PKG_NAME%.apidoc.tar
 See the License for the specific language governing permissions and
 limitations under the License.
 """
-
-import os
+_version = '0.1.1'
 from distutils.core import setup
 
 setup(
     name='pyhai',
-    version='0.1.1',
+    license='http://www.apache.org/licenses/LICENSE-2.0',
+    version=_version,
     packages=[
         'pyhai',
         'pyhai.plugins',
         'pyhai.plugins.windows',
         'pyhai.profilers',
         ],
-    long_description=open('README.txt').read(),
-    url='https://bitbucket.org/laperrim/pyhai',
+    description='A system profiler/auditor written in Python that supports custom plugins.',
+    long_description='A system profiler/auditor written in Python that supports custom plugins and a custom profiler. Custom plugins can superscede builtin plugins to allow for a great deal of flexibility. Plugins follow naming conventions for ease of use.',
+    url='https://bitbucket.org/marklap/pyhai',
+    download_url='https://bitbucket.org/marklap/pyhai/src/tip/src/dist/pyhai-%s.tar.gz' % _version,
+    author='pyhai@mindmind.com',
+    author_email='pyhai@mindmind.com',
     maintainer='pyhai@mindmind.com',
     maintainer_email='pyhai@mindmind.com',
+    classifiers=[
+        'Development Status :: 4 - Beta',
+        'Intended Audience :: Developers',
+        'Intended Audience :: Information Technology',
+        'Intended Audience :: System Administrators',
+        'License :: OSI Approved :: Apache Software License',
+        'Operating System :: OS Independent',
+        'Programming Language :: Python :: 2.7',
+        'Topic :: System :: Monitoring',
+        'Topic :: System :: Systems Administration',
+        'Topic :: Utilities',
+        ],
 )
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.