Skip to content

Commit cb8a27d

Browse files
author
Rafael Castro
committed
Update lib to v0.1.14
1 parent 276d2d4 commit cb8a27d

File tree

4 files changed

+47
-40
lines changed

4 files changed

+47
-40
lines changed

MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
include LICENSE.txt
2-
include README.md
2+
include README.srt
33
prune febraban/cnab240/tests

README.md

-27
This file was deleted.

README.srt

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
Deployment instructions
2+
-----------------------
3+
4+
Global
5+
~~~~~~
6+
7+
Before deployment, change the project *version* on ``setup.py`` file and
8+
set the correct *download*\ url\_. Then make sure you have the file
9+
``~/.pypirc`` with the content below and the correct credentials instead
10+
of the provided placeholders:
11+
12+
::
13+
14+
[distutils]
15+
index-servers =
16+
pypi
17+
pypitest
18+
19+
[pypi]
20+
repository:https://upload.pypi.org/legacy/
21+
username:myusername
22+
password:mypassword
23+
24+
[pypitest]
25+
repository:https://test.pypi.org/legacy/
26+
username:myusername
27+
password:mypassword
28+
29+
Test environment
30+
~~~~~~~~~~~~~~~~
31+
32+
Run ``python setup.py sdist upload -r pypitest`` inside the project
33+
directory.
34+
35+
Live environment
36+
~~~~~~~~~~~~~~~~
37+
38+
Run ``python setup.py sdist upload -r pypi`` inside the project
39+
directory.

setup.py

+7-12
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
11
import os
22
from setuptools import setup, find_packages
33

4-
with open(os.path.join(os.path.dirname(__file__), "README.md")) as readme:
4+
with open(os.path.join(os.path.dirname(__file__), "README.srt")) as readme:
55
README = readme.read()
66

7-
#Allow setup.py to be run from any path
8-
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
9-
10-
version = "0.1.13"
11-
127
setup(
13-
name='febraban',
8+
name="febraban",
149
packages=find_packages(),
1510
include_package_data=True,
16-
version=version,
17-
description='A library to generate files that conform to the FEBRABAN formats',
11+
description="A library to generate files in FEBRABAN formats",
1812
long_description=README,
1913
license="MIT License",
20-
author='Hummingbird Product Studio',
21-
author_email='[email protected]',
2214
url='https://github.com/HummingbirdStudio/febraban.git',
23-
keywords=['febraban', 'cnab', 'transfer', 'billing', 'bank', 'cnab240', 'febraban240']
15+
author="Hummingbird Product Studio",
16+
author_email="[email protected]",
17+
keywords=["febraban", "cnab", "transfer", "billing", "bank", "cnab240", "febraban240"],
18+
version = "0.1.14"
2419
)

0 commit comments

Comments
 (0)