licenses / lice

Generate license files for your projects
BSD 3-Clause "New" or "Revised" License
506 stars 38 forks source link

Not supporting Python 3.4 #38

Closed jiegec closed 9 years ago

jiegec commented 10 years ago

Here is the traceback: Traceback (most recent call last): File "h:\Python\Python34\Scripts\lice-script.py", line 9, in load_entry_point('lice==0.4', 'console_scripts', 'lice')() File "H:\Python\Python34\lib\site-packages\liceinit.py", line 6, in main main() File "H:\Python\Python34\lib\site-packages\lice\core.py", line 171, in main content = generate_license(template.decode("UTF-8"), get_context(args)) AttributeError: 'str' object has no attribute 'decode'

That method is only in Python 2, and it does not support Python 3, but lice is in the category called Programming Language :: Python :: 3. That's confusing,

luoyetx commented 10 years ago

Do you install lice using pip? I also got problems with Python34 using pip to install lice. Maybe you should clone this repo and use python setup.py install to install(It works with me :)

jiegec commented 10 years ago

First question, yes. So i made a pull request for this. ^_^