campaignmonitor / createsend-python

A Python library for the Campaign Monitor API
http://campaignmonitor.github.io/createsend-python
MIT License
57 stars 64 forks source link

Code in master can't doesn't allow installation using pip #50

Closed jdennes closed 6 years ago

jdennes commented 7 years ago

I tried to publish a new release twice, but the code in master doesn't allow installation via pip:

› pip3 install createsend
Collecting createsend
  Downloading createsend-4.2.4.tar.gz (161kB)
    100% |████████████████████████████████| 163kB 3.2MB/s 
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/9d/glt4w3hn1ng3bp621522kw7h0000gn/T/pip-build-4emdtbbh/createsend/setup.py", line 11, in <module>
        from lib.release import __version__, __author__
    ModuleNotFoundError: No module named 'lib.release'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/9d/glt4w3hn1ng3bp621522kw7h0000gn/T/pip-build-4emdtbbh/createsend/

I have removed both the bad releases.

I do not have time to resolve this.

Whoever ends up doing it will need to bump the version to 4.2.5 when it's published.

djstein commented 7 years ago

thanks. I know I passed all the tests on python 3 and python 2 builds. I will make sure I pushed my latest changes!

Steffenhvid commented 7 years ago

Just for info, on mac the response is a little different: Collecting createsend Using cached createsend-4.2.2.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/private/var/folders/1q/0llk4md57gz4zlv_sp02_9s06w2ff8/T/pip-build-jpmkka95/createsend/setup.py", line 3, in from createsend.createsend import version File "/private/var/folders/1q/0llk4md57gz4zlv_sp02_9s06w2ff8/T/pip-build-jpmkka95/createsend/createsend/init.py", line 20, in from createsend.version import version ModuleNotFoundError: No module named 'createsend.version'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/1q/0llk4md57gz4zlv_sp02_9s06w2ff8/T/pip-build-jpmkka95/createsend/

djstein commented 6 years ago

duplicate of #45 please close

katharosada commented 6 years ago

Fixed in https://github.com/campaignmonitor/createsend-python/commit/d1d545f6e9f85eb1063c64fa2d5d383f844bfe9d