Skip to content

Commit

Permalink
deploy (#24)
Browse files Browse the repository at this point in the history
* Add deploy to travis.yml and install instructions to readme file

* Add LICENSE file

* Organize setpy.py file
  • Loading branch information
Ahhhhmed committed Apr 29, 2018
1 parent c6e4498 commit 8ab623d
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 20 deletions.
24 changes: 14 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
language: python
python:
- "3.3"
- "3.4"
- "3.5"
- "3.6"
# command to install dependencies
- '3.3'
- '3.4'
- '3.5'
- '3.6'
install:
- pip install .
- pip install codecov
# command to run tests
- pip install .
- pip install codecov
script: coverage run -m unittest
# Upload coverage if build succeeds
after_success:
- codecov
- codecov
deploy:
provider: pypi
user: "ahhhhmed"
password:
secure: dZVlAZr8UvKEsIGYD1jaSSmQHzMo4gYVa2D4X8EAEtfSMr9FE6w4pMDAExdRfvR42meoL9IbmanTlwLm9ak6GQscP2uh1hM69c7mKB9q3EN0CoZLqIh++3eRAd5s7O0Mms89a95hJYi0ybG0nED6JRSj4fU1Vm9zR3jPYiK5Gb+ca/wxJNOLC9/yglePexXuhx3GdlM6BrooZEyPenztc5zfRvLnMuNl9ndZjKAFYQQ/+k/uoLzjqR1cGnfD2kCz6XMHffHFkGIKt3CV+qaXwhlzJKycv++586h63MBzbA/t46fTKg367hJVFb37jnziziPn0/kVeuBHX7Wjm0H/oPNqPt8p9qxlgMhWcci3KWd9sq8QhPDYVSk5xyozsFDqUIjhKsmApOyoKsf/eWVuGv+aakbaMBOuZlpj43YVHIW13kbHL9VlCXPcLBbbquzlG1UFrQXacZ2tQBrW9r8XUylc4ERcFwJ5pAKhbzHa0JTKdULkZmNjnWLVNZOL2xfs0VRiiRcf4sns1jxmz3gDQtyLXy0x/554TLp4fMHsY+kxYw5gY+Q+yMHw4VpNfFuFHU8IiSsPntL9Q7gzGEziSgnGTzevgaG2Os+R9GSy2fFGDvy4U//LwkHjUa+gvPm6cy4goNlv45tBU6NYCMG3yU9K09bAx0mDgoHAwqT/Pvc=
on:
tags: true
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 Nenad Vasic <ahhhhmed@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
8 changes: 8 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ Homotopy take care of parentheses, formatting, indent and all that boring stuff.
printf("Hello, five times.");
}

-------
Install
-------

.. code-block:: bash
pip install homotopy
---------------
Getting started
---------------
Expand Down
40 changes: 30 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,22 +1,42 @@
from distutils.core import setup
import os

setup(
name='homotopy',
version='0.0',
packages=['homotopy', 'test'],
url='',
license='',
author='Nenad',
version='0.1.dev1',
packages=['homotopy'],
license='MIT',
author='Nenad Vasic',
author_email='ahhhhmed@gmail.com',
description='snippet engine',
install_requires=[

],
url='https://github.com/Ahhhhmed/homotopy',
description='Homotopy snippet engine',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
install_requires=[],
python_requires='>=3.3',
include_package_data=True,
package_data={'homotopy': ['stdlib/*']},
entry_points={
'console_scripts': [
'homotopy = homotopy.__main__:main'
]
}
},
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Software Development',
'Topic :: Software Development :: Compilers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: C',
'Programming Language :: C++',
'Programming Language :: Java',
],
test_suite='test',
)

0 comments on commit 8ab623d

Please sign in to comment.