Skip to content

Commit dfa2a48

Browse files
authored
Merge pull request #5 from sakura-internet/feat/pypi
Register to PyPi
2 parents 4b8c4d9 + 72312bc commit dfa2a48

File tree

6 files changed

+45
-5
lines changed

6 files changed

+45
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,4 @@ ENV/
8989
# Rope project settings
9090
.ropeproject
9191

92+
MANIFEST

MAINTENANCE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# PyPi
2+
3+
## Testing
4+
5+
```bash
6+
python setup.py register -r https://testpypi.python.org/pypi
7+
python setup.py sdist upload -r https://testpypi.python.org/pypi
8+
```
9+
10+
## Production
11+
12+
```bash
13+
python setup.py register
14+
python setup.py sdist upload
15+
```

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,13 @@ It currently supports I2C (SMBus) ONLY, and tested with Raspberry Pi.
3333

3434
### Install
3535

36+
37+
3638
```bash
37-
sudo pip3 install -e git+https://github.com/sakura-internet/python-sakuraio.git#egg=python-sakuraio
39+
# From PyPi
40+
sudo pip3 install sakuraio
41+
# From Github.com
42+
sudo pip3 install -e git+https://github.com/sakura-internet/python-sakuraio.git#egg=sakuraio
3843
```
3944

4045
### Example

docs/hardware/install.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ Python-sakuraio can be installed from Github.com with tools like ``pip``:
55

66
.. code-block:: bash
77
8-
$ pip install -e git+https://github.com/sakura-internet/python-sakuraio.git#egg=python-sakuraio
8+
# From PyPi
9+
$ pip install sakuraio
10+
# From Github.com
11+
$ pip install -e git+https://github.com/sakura-internet/python-sakuraio.git#egg=sakuraio
912
1013
1114
Requirements

setup.py

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,24 @@
88
description='Python SakuraIO Library',
99
author='chibiegg',
1010
author_email='chibiegg@chibiegg.net',
11-
url='https://iot.sakura.ad.jp/',
11+
url='https://github.com/sakura-internet/python-sakuraio/',
1212
packages=['sakuraio', 'sakuraio.hardware', 'sakuraio.hardware.commands', 'sakuraio.hardware.rpi'],
13+
classifiers=[
14+
# How mature is this project? Common values are
15+
# 3 - Alpha
16+
# 4 - Beta
17+
# 5 - Production/Stable
18+
'Development Status :: 4 - Beta',
19+
# Indicate who your project is intended for
20+
'License :: OSI Approved :: MIT License',
21+
'Programming Language :: Python :: 3 :: Only',
22+
'Programming Language :: Python :: 3',
23+
'Programming Language :: Python :: 3.5',
24+
'Programming Language :: Python :: 3.6',
25+
'Topic :: System :: Hardware',
26+
'Topic :: Utilities',
27+
'Topic :: Communications',
28+
'Topic :: Software Development :: Libraries',
29+
'Topic :: Software Development :: Libraries :: Python Modules',
30+
],
1331
)

tests.sh

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)