Skip to content

Commit

Permalink
Get ready for release 🎉
Browse files Browse the repository at this point in the history
Signed-off-by: Sunghyun Hwang <me@sunghyunzz.com>
  • Loading branch information
0xd669 committed Sep 9, 2018
1 parent 5b3d32b commit fbd7e8a
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
env/
*.pyc
.idea/
*.egg-info
build/
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,12 @@ python:

script:
- python3 -m unittest

deploy:
provider: pypi
user: $PYPI_USERNAME
password: $PYPI_PASSWORD
on:
tags: true
branch: master
python: '3.7-dev'
2 changes: 2 additions & 0 deletions kformat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@


__all__ = ['kclass', 'N', 'AN']

__version__ = '0.1.0'
8 changes: 7 additions & 1 deletion kformat/kclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,10 @@ def init(self, *args):


def kclass(_cls=None):
return _kclass(_cls)
def wrap(cls):
return _kclass(cls)

if _cls is None:
return wrap

return wrap(_cls)
25 changes: 25 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import setuptools

import kformat


setuptools.setup(
name='K-Format',
version=kformat.__version__,
description='Python Library for dealing with KCB K-Format',
license='MIT',
python_requires='>=3.7',
url='https://github.com/Rainist/K-Format',
author='Sunghyun Hwang',
author_email='me' '@' 'sunghyunzz.com',
maintainer='Rainist',
maintainer_email='engineering' '@' 'rainist.com',
classifiers=[
'Development Status :: 3 - Alpha',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.7'
],
packages=setuptools.find_packages(exclude=['tests*']),
test_suite='tests'
)

0 comments on commit fbd7e8a

Please sign in to comment.