Skip to content

Commit 818d8f8

Browse files
committed
modified format and setup.py
#9 #8 #7
1 parent e1f6a29 commit 818d8f8

File tree

10 files changed

+45
-40
lines changed

10 files changed

+45
-40
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
=======
21
Credits
32
=======
43

54
Development Lead
65
----------------
76

8-
* Vladyslav Fenchak <vladyslav.fenchak@clariteia.com>
7+
* Andrea Mucci <andrea@clariteia.com>
98

109
Contributors
1110
------------
1211

13-
None yet. Why not be the first?
12+
* Sergio Garcia Prado <[email protected]>
13+
* Vladyslav Fenchak <[email protected]>

HISTORY.rst renamed to HISTORY.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
=======
21
History
32
=======
43

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Clariteia
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ endef
2222
export PRINT_HELP_PYSCRIPT
2323

2424
BROWSER := python -c "$$BROWSER_PYSCRIPT"
25-
aws_password := $(shell aws codeartifact get-authorization-token --domain pip-clariteia --domain-owner 785264909821 --query authorizationToken --output text)
26-
aws_repo_url := $(shell aws codeartifact get-repository-endpoint --domain pip-clariteia --domain-owner 785264909821 --repository minos --format pypi --query repositoryEndpoint --output text)
2725

2826
help:
2927
@python -c "$$PRINT_HELP_PYSCRIPT" < $(MAKEFILE_LIST)
@@ -61,8 +59,7 @@ test-all: ## run tests on every Python version with tox
6159
coverage: ## check code coverage quickly with the default Python
6260
coverage run --source minos -m pytest
6361
coverage report -m
64-
coverage html
65-
$(BROWSER) htmlcov/index.html
62+
coverage xml
6663

6764
docs: ## generate Sphinx HTML documentation, including API docs
6865
rm -f docs/api_gateway.rst
@@ -76,7 +73,7 @@ servedocs: docs ## compile the docs watching for changes
7673
watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D .
7774

7875
release: dist ## package and upload a release
79-
twine upload --repository-url $(aws_repo_url) --username aws --password $(aws_password) dist/*
76+
twine upload dist/*
8077

8178
dist: clean ## builds source and wheel package
8279
python setup.py sdist

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
API Gateway
2+
===========
3+
4+
Minos Boilerplate contains all the boilerplate you need to create a Minos Python package.
5+
6+
Credits
7+
-------
8+
9+
This package was created with ![Cookiecutter](https://github.com/audreyr/cookiecutter) and the ![Minos Package](https://github.com/Clariteia/minos-pypackage) project template.

README.rst

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

minos/api_gateway/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '0.0.1'
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+

minos/boilerplate/__init__.py

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

setup.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
from setuptools import setup, find_namespace_packages
66

7-
with open('README.rst') as readme_file:
7+
with open('README.md') as readme_file:
88
readme = readme_file.read()
99

10-
with open('HISTORY.rst') as history_file:
10+
with open('HISTORY.md') as history_file:
1111
history = history_file.read()
1212

1313
requirements = [ ]
@@ -17,21 +17,21 @@
1717
test_requirements = ['pytest>=3', ]
1818

1919
setup(
20-
author="Vladyslav Fenchak",
21-
author_email='vladyslav.fenchak@clariteia.com',
22-
python_requires='>=3.5',
20+
author="Andrea Mucci",
21+
author_email='andrea@clariteia.com',
22+
python_requires='>=3.7',
2323
classifiers=[
2424
'Development Status :: 2 - Pre-Alpha',
2525
'Intended Audience :: Developers',
2626
'Natural Language :: English',
2727
'Programming Language :: Python :: 3',
28-
'Programming Language :: Python :: 3.5',
29-
'Programming Language :: Python :: 3.6',
3028
'Programming Language :: Python :: 3.7',
3129
'Programming Language :: Python :: 3.8',
30+
'Programming Language :: Python :: 3.9',
3231
],
3332
description="Minos Boilerplate contains all the boilerplate you need to create a Minos Python package.",
3433
install_requires=requirements,
34+
long_description_content_type="text/markdown",
3535
long_description=readme + '\n\n' + history,
3636
include_package_data=True,
3737
keywords='api_gateway',

0 commit comments

Comments
 (0)