Commits

Anonymous committed 12f2c03

add curl ssl options - pull request #1 from @devdemon , add unified segments methods: lists/segments(), lists/segmentAdd(), lists/segmentDel(), lists/segmentTest(), lists/segmentUpdate() , things that allow segmenting take a saved segment_id , add new users/profile() method , tons of documentation fixes/improvements

  • Participants
  • Parent commits 3343870
  • Tags 2.0.6

Comments (1)

  1. jessedp

    For anyone reading this, obvious the commit message is a lie - deployment to pypi got bungled and I wasn't paying attention to the commit being made (that's from the php wrapper)

Files changed (2)

         params = json.dumps(params)
         self.log('POST to %s%s.json: %s' % (ROOT, url, params))
         start = time.time()
-        r = self.session.post('%s%s.json' % (ROOT, url), data=params, headers={'content-type': 'application/json', 'user-agent': 'MailChimp-Python/2.0.5'})
+        r = self.session.post('%s%s.json' % (ROOT, url), data=params, headers={'content-type': 'application/json', 'user-agent': 'MailChimp-Python/2.0.6'})
         try:
             remote_addr = r.raw._original_response.fp._sock.getpeername() # grab the remote_addr before grabbing the text since the socket will go away
         except:
 
 setup(
     name = 'mailchimp',
-    version = '2.0.5',
+    version = '2.0.6',
     author = 'MailChimp Devs',
     author_email = 'api@mailchimp.com',
     description = 'A CLI client and Python API library for the MailChimp email platform.',
-    long_description = open(os.path.join(os.path.dirname(__file__), 'README')).read(),
+    long_description = open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
     license = 'MIT',
     keywords = 'mailchimp email api',
     url = 'https://bitbucket.org/mailchimp/mailchimp-api-python/',