Skip to content

Commit

Permalink
Properly sent the package to pypi at last
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalPodeszwa committed Dec 16, 2015
1 parent be8f182 commit fcaab20
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
9 changes: 8 additions & 1 deletion README.md → README
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,19 @@ Currently `pySyringe` works only on Python 3.3+. Maybe later, support for older
...
>>> important_function()
42

>>> class Mock:
... def __init__(self):
... self.bar = 1
...
>>> important_function(Mock())
1
>>>
>>> @pysyringe.inject_value(foo=42)
... def important_function2(foo):
... return foo
>>> important_function2()
42

```

As you can see testing is **a lot** simpler now. You don't need as much _(hopefully none)_ mocking as you used to.
Expand Down
1 change: 1 addition & 0 deletions README.rst
10 changes: 1 addition & 9 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
import os

from setuptools import setup

here = os.path.abspath(os.path.dirname(__file__))

with open(os.path.join(here, 'README.md')) as f:
README = f.read()


setup(
name='pySyringe',
version='1.0',
version='1.2.0',
description='Pythonic dependency injection container',
long_description=README,
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
Expand Down

0 comments on commit fcaab20

Please sign in to comment.