Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #36 from vgangaprasad/master
Browse files Browse the repository at this point in the history
Updated Setup.py to remove Pasteurize
  • Loading branch information
jackfirth committed Oct 5, 2019
2 parents 85ab1c2 + 7a657f1 commit cb690f6
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 19 deletions.
10 changes: 7 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.7-dev"
- "3.8-dev"
- "nightly"
#command to install dependencies:
install:
- python setup.py install
- pip install coveralls
- pip install pep8
#command to run tests
script:
- pep8 --max-line-length 100 pyramda
- python setup.py nosetests
Expand Down
5 changes: 2 additions & 3 deletions pyramda/iterable/flatten.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from collections import Iterable
from past.builtins import basestring

from pyramda.isinstance import isinstance
from pyramda.function.curry import curry
from builtins import str


@curry
Expand All @@ -27,4 +26,4 @@ def _flatten_until(items):

return list(_flatten_until(xs))

flatten = flatten_until(isinstance(basestring))
flatten = flatten_until(isinstance(str))
13 changes: 0 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
from setuptools import setup
from setuptools.command.build_py import build_py
from subprocess import call


class PasteurizeBuildCommand(build_py):
def run(self):
call(["pip", "install", "future"])
call(["pasteurize", "./pyramda"])
build_py.run(self)


setup(
name='pyramda',
version='0.1',
Expand All @@ -28,10 +19,6 @@ def run(self):
'pyramda.private.curry_spec',
'pyramda.relation'
],
install_requires=['future'],
tests_require=['nose', 'coverage', 'mock'],
cmdclass={
'build_py': PasteurizeBuildCommand
},
zip_safe=False
)

0 comments on commit cb690f6

Please sign in to comment.