Last active
May 9, 2017 20:30
-
-
Save lukassup/e1b891bd47e35be9b578b8a34fd5ed33 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """Example module.""" | |
| def main(): | |
| print('Hello, world!') | |
| if __name__ == "__main__": | |
| main() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| . | |
| ├── example | |
| │ └── __init__.py | |
| ├── setup.py | |
| └── tests.py | |
| 1 directory, 3 files |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| from setuptools import setup, find_packages | |
| setup( | |
| author="Lukas Šupienis <lukassup@yahoo.com>", | |
| license="MIT", | |
| url="https://github.com/lukassup/python-example.git", | |
| version="0.1.0", | |
| name="example", | |
| packages=find_packages(exclude=['tests']), | |
| entry_points={ | |
| "console_scripts": [ | |
| "example-cli = example:main", | |
| ], | |
| }, | |
| test_suite='tests', | |
| zip_safe=True, | |
| ) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """Example module tests.""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment