diff --git a/.gitignore b/.gitignore index 04d511ad..25a8fb3f 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,7 @@ rsconnect/ __pycache__/ .cache/ .idea/ + +*/build/lib/ +Python/*.egg-info +Python/dist/*.whl diff --git a/Python/LICENSE b/Python/LICENSE.txt similarity index 100% rename from Python/LICENSE rename to Python/LICENSE.txt diff --git a/Python/MANIFEST b/Python/MANIFEST index 1d2996c7..09da73f0 100644 --- a/Python/MANIFEST +++ b/Python/MANIFEST @@ -1,4 +1,6 @@ # file GENERATED by distutils, do NOT edit +README.md +setup.cfg setup.py sqlmlutils\__init__.py sqlmlutils\connectioninfo.py diff --git a/Python/MANIFEST.in b/Python/MANIFEST.in new file mode 100644 index 00000000..c5a5da25 --- /dev/null +++ b/Python/MANIFEST.in @@ -0,0 +1,2 @@ +include README.md +include LICENSE.txt \ No newline at end of file diff --git a/Python/README.md b/Python/README.md index 3d9adc46..ed0dcbdd 100644 --- a/Python/README.md +++ b/Python/README.md @@ -7,7 +7,7 @@ sqlmlutils is a python package to help execute Python code on a SQL Server machi Download the zip package file from the dist folder. From a command prompt, run ``` -python.exe -m pip install --upgrade --upgrade-strategy only-if-needed sqlmlutils-0.7.0.zip +python.exe -m pip install --upgrade --upgrade-strategy only-if-needed sqlmlutils-0.7.1.zip ``` Note: If you encounter errors installing the pymssql dependency and your client is a Windows machine, consider diff --git a/Python/buildandinstall.cmd b/Python/buildandinstall.cmd index 117b1872..b0bb71e1 100644 --- a/Python/buildandinstall.cmd +++ b/Python/buildandinstall.cmd @@ -1,2 +1,2 @@ python.exe setup.py sdist --formats=zip -python.exe -m pip install --upgrade --upgrade-strategy only-if-needed dist\sqlmlutils-0.7.0.zip +python.exe -m pip install --upgrade --upgrade-strategy only-if-needed dist\sqlmlutils-0.7.1.zip diff --git a/Python/dist/sqlmlutils-0.7.0.zip b/Python/dist/sqlmlutils-0.7.1.zip similarity index 53% rename from Python/dist/sqlmlutils-0.7.0.zip rename to Python/dist/sqlmlutils-0.7.1.zip index 39e941f4..2c46575b 100644 Binary files a/Python/dist/sqlmlutils-0.7.0.zip and b/Python/dist/sqlmlutils-0.7.1.zip differ diff --git a/Python/setup.cfg b/Python/setup.cfg new file mode 100644 index 00000000..badc95f7 --- /dev/null +++ b/Python/setup.cfg @@ -0,0 +1,3 @@ +# Inside of setup.cfg +[metadata] +description-file = README.md \ No newline at end of file diff --git a/Python/setup.py b/Python/setup.py index 7a8b80f0..ac6c7618 100644 --- a/Python/setup.py +++ b/Python/setup.py @@ -1,15 +1,16 @@ # Copyright(c) Microsoft Corporation. All rights reserved. # Licensed under the MIT license. -from distutils.core import setup +from setuptools import setup setup( name='sqlmlutils', packages=['sqlmlutils', 'sqlmlutils/packagemanagement'], - version='0.7.0', - url='https://github.com/Microsoft/sqlmlutils', + version='0.7.1', + url='https://github.com/Microsoft/sqlmlutils/Python', license='MIT License', - description='A client side package for working with SQL Machine Learning Python Services. ' + desciption='A client side package for working with SQL Server', + long_description='A client side package for working with SQL Server Machine Learning Python Services. ' 'sqlmlutils enables easy package installation and remote code execution on your SQL Server machine.', author='Microsoft', author_email='joz@microsoft.com',