Fix broken project creation and release 0.7.1
This commit is contained in:
parent
b5268d314b
commit
88893d10c2
|
@ -5,6 +5,12 @@ A bit late, but I am starting a changelog. Feel free to go back
|
|||
in commit history and add details of previous updates.
|
||||
-- message written at version 0.6.4 release
|
||||
|
||||
# 0.7.1
|
||||
|
||||
* `.pythong` file now contains the data it used to prior to 0.7.
|
||||
The removal of this caused more problems than it solved,
|
||||
at least for now.
|
||||
|
||||
# 0.7
|
||||
|
||||
* The `.pythong` config file now only contains information related
|
||||
|
|
|
@ -75,15 +75,6 @@ def prompt_new_project(name=None, snap=False):
|
|||
if e.errno != 17:
|
||||
raise e
|
||||
|
||||
# Write config file before we add all of the setup.py info to
|
||||
# the project dict. We don't want or need that in there. We
|
||||
# only need the directory and file info.
|
||||
try:
|
||||
write_config(os.path.join(project['project_dir'], '.pythong'), project)
|
||||
print "Configuration file written."
|
||||
except:
|
||||
print "Problem writing config file."
|
||||
|
||||
# Create setup.py file
|
||||
# first, set sane defaults
|
||||
project.update(dict(
|
||||
|
@ -125,6 +116,11 @@ def prompt_new_project(name=None, snap=False):
|
|||
else:
|
||||
print "Generating skeletal setup files."
|
||||
|
||||
try:
|
||||
write_config(os.path.join(project['project_dir'], '.pythong'), project)
|
||||
print "Configuration file written."
|
||||
except:
|
||||
print "Problem writing config file."
|
||||
|
||||
try:
|
||||
write_setup_files(project['project_dir'])
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/env python
|
||||
# -*- coding: utf8 -*-
|
||||
|
||||
__version__ = "0.7"
|
||||
__version__ = "0.7.1"
|
||||
|
|
Reference in New Issue