Skip to content

Commit

Permalink
Merge pull request #49 from microsoft/JonathanZhu11/releaseForPyPI
Browse files Browse the repository at this point in the history
Add and modify files for PyPI release
  • Loading branch information
JonathanZhu11 authored Oct 15, 2019
2 parents 0703884 + a5d6867 commit 0af29cf
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ rsconnect/
__pycache__/
.cache/
.idea/

*/build/lib/
Python/*.egg-info
Python/dist/*.whl
File renamed without changes.
2 changes: 2 additions & 0 deletions Python/MANIFEST
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# file GENERATED by distutils, do NOT edit
README.md
setup.cfg
setup.py
sqlmlutils\__init__.py
sqlmlutils\connectioninfo.py
Expand Down
2 changes: 2 additions & 0 deletions Python/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include README.md
include LICENSE.txt
2 changes: 1 addition & 1 deletion Python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Python/buildandinstall.cmd
Original file line number Diff line number Diff line change
@@ -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
Binary file not shown.
3 changes: 3 additions & 0 deletions Python/setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Inside of setup.cfg
[metadata]
description-file = README.md
9 changes: 5 additions & 4 deletions Python/setup.py
Original file line number Diff line number Diff line change
@@ -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='[email protected]',
Expand Down

0 comments on commit 0af29cf

Please sign in to comment.