Skip to content

Commit

Permalink
Merge pull request #9 from bensigelman/master
Browse files Browse the repository at this point in the history
detect file presence correctly
  • Loading branch information
Evan Chen committed Oct 28, 2014
2 parents b4bc403 + 3b7cbfd commit 733afe1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
0.2.2
- Fixed install regression caused by 0.2.1 README change

0.2.1
- Fixed setup.py accounting for wrong README

Expand Down
2 changes: 1 addition & 1 deletion facebookads/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class FacebookAdsApi(object):
this sdk.
"""

SDK_VERSION = '0.2.1'
SDK_VERSION = '0.2.2'

API_VERSION = 'v2.1'

Expand Down
12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@
import os

this_dir = os.path.dirname(__file__)
if os.path.isfile('README.rst'):
readme_filename = 'README.rst'
elif os.path.isfile('README.md'):
readme_filename = 'README.md'
if os.path.isfile(os.path.join(this_dir, 'README.rst')):
readme_basename = 'README.rst'
elif os.path.isfile(os.path.join(this_dir, 'README.md')):
readme_basename = 'README.md'

readme_filename = os.path.join(this_dir, readme_filename)
readme_filename = os.path.join(this_dir, readme_basename)
requirements_filename = os.path.join(this_dir, 'requirements.txt')

PACKAGE_NAME = 'facebookads'
PACKAGE_VERSION = '0.2.1'
PACKAGE_VERSION = '0.2.2'
PACKAGE_AUTHOR = 'Facebook'
PACKAGE_AUTHOR_EMAIL = ''
PACKAGE_URL = 'https://github.com/facebook/facebook-python-ads-sdk'
Expand Down

0 comments on commit 733afe1

Please sign in to comment.