Skip to content

Commit

Permalink
add pypi deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
s4w3d0ff committed May 29, 2019
1 parent b792ac4 commit 36736bd
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
language: python

notifications:
email: false

python:
- "2.7"
- "3.5"

sudo: false

before_install:
# make sure we have wheel and setuptools
- pip install -U pip wheel setuptools
# pre install scientific wheels so we dont have to build
- pip install --only-binary=numpy,scipy,pandas numpy scipy pandas

install:
- python setup.py install

script:
# test import
- python -c 'import donnie'

# cashe pip
cache:
directories:
- $HOME/.cache/pip
deploy:
provider: pypi
user: s4w3d0ff
password:
secure: "lIG4jgU7ilviM1ERFZ+wIQ+BlM48IKB0b7XX8N8oXnnyaU0Zy0cphjImepGpypwrdkiWylFQ+bOUwDybLMeqBinX/ZHs5dHIHF4wXw1R/B9STOLueckepOpjcAoxBRuCvZD22wUDIHgvUj37uAf/CPObSXD+OPMZT6gLo3ZvmQYCbGmQddO38mGY1WLM8ZQmGe8BzB2QoB7kkSp+VjCPScvEHZoC+JCXPNu7ImCLdEQdxrDOlQrp9Xz8fvUv9urSctZYFq8KHrSsNhKNZklOxHkOGU58gKjZbAIATpG13GbknmLoazpTEGZyylQR03VwjhAqQ6bkpugfKqJvO+55FVSFPk3r9eMD8s7rOch4wnH0/yV0Xp50M5cg5AG3VH1799JCRWVstv/uxHxgMskSLRWL0YdPAGfJBNtn3rIJrJN1dRGEjwMf9yHAQZtBPKLr4fmgqAmJeQuukYBILzN5KlYZK5aj53lZm07LfrVuSQxvAfHVAtweWWMz5+TgfAsid802JWQ+PqNGc0GsDYqzAaF5ntnsF095LAVHlQC8e03yflwqv9Mec9GVn0rkVPpFyuJdtVjxPf8LqbMSEoHcHKWC62NUs97d4MMEMd0loPn7gLT8b0uqoNONw+rjYROdqLHWeUiqd+K1oGS9YXhu9+AdSaQ8rMS8ATwlBcZv8p0="
on:
tags: true
skip_existing: true
16 changes: 15 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@
#
from setuptools import setup

read_md = lambda f: open(f, 'r').read()

setup(name='donnie',
version='0.0.1',
description='Poloniex tradebot toolkit',
long_description=read_md('README.md'),
long_description_content_type='text/markdown',
url='https://github.com/s4w3d0ff/donnie',
author='s4w3d0ff',
license='GPL v3',
Expand All @@ -35,4 +39,14 @@
'pymongo',
'poloniexapi'
],
zip_safe=False)
zip_safe=False,
keywords=['poloniex', 'poloniexapi', 'exchange', 'api'],
classifiers = [
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3'
]
)

0 comments on commit 36736bd

Please sign in to comment.