1. marklap
  2. pyHai


marklap  committed 094505b

prepare to push to pypi

  • Participants
  • Parent commits 49de405
  • Branches default

Comments (0)

Files changed (2)

File build.bat

View file
  • Ignore whitespace
 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 *
+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

File src/setup.py

View file
  • Ignore whitespace
 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
-    version='0.1.1',
+    license='http://www.apache.org/licenses/LICENSE-2.0',
+    version=_version,
-    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',
+    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',
+        ],