Skip to content

Commit 39c56d9

Browse files
committed
Setups and files required for pypi
1 parent e26b020 commit 39c56d9

4 files changed

Lines changed: 16 additions & 4 deletions

File tree

MANIFEST.in

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
include README.md
2+
include LICENSE
3+
recursive-include src *.py
4+
recursive-include src *.xsd
5+
recursive-exclude * __pycache__
6+
recursive-exclude * *.py[co]

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
[![Build Status](https://api.travis-ci.org/onelogin/python-saml.png?branch=master)](http://travis-ci.org/onelogin/python-saml)
44
[![Coverage Status](https://coveralls.io/repos/onelogin/python-saml/badge.png)](https://coveralls.io/r/onelogin/python-saml)
5+
[![PyPi Version](https://pypip.in/v/python-saml/badge.png)](https://pypi.python.org/pypi/python-saml)
6+
![PyPi Downloads](https://pypip.in/d/python-saml/badge.png)
57

68
Add SAML support to your Python softwares using this library.
79
Forget those complicated libraries and use that open source library provided
@@ -84,7 +86,7 @@ Copy the core of the library (src/onelogin/saml2 folder) and merge the setup.py
8486

8587
#### Option 2. Download from pypi ####
8688

87-
The toolkit is hosted in pypi, you can find the python-sam package at https://pypi.python.org/pypi/python-saml
89+
The toolkit is hosted in pypi, you can find the python-saml package at https://pypi.python.org/pypi/python-saml
8890

8991
You can install it executing:
9092
```

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
[wheel]
2-
universal = 1
3-
2+
python-tag = py27

setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
from setuptools import setup
88

9+
910
setup(
1011
name='python-saml',
1112
version='2.0.0',
@@ -21,7 +22,11 @@
2122
author_email='support@onelogin.com',
2223
license='MIT',
2324
url='https://github.com/onelogin/python-saml',
24-
packages=['onelogin/saml2'],
25+
packages=['onelogin','onelogin/saml2'],
26+
include_package_data=True,
27+
package_data = {
28+
'onelogin/saml2/schemas': ['*.xsd'],
29+
},
2530
package_dir={
2631
'': 'src',
2732
},

0 commit comments

Comments
 (0)