Skip to content

Commit

Permalink
Merge pull request #44 from mekanix/feature/project-init
Browse files Browse the repository at this point in the history
Initialize the project in new directory
  • Loading branch information
mekanix authored Mar 16, 2020
2 parents 23a2c53 + d46dba1 commit 67290ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions bin/freenit.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

set -e


NAME="${1}"
if [ -z "${NAME}" ]; then
Expand All @@ -11,6 +13,8 @@ fi
PROJECT_ROOT=`python${PY_VERSION} -c 'import os; import freenit; print(os.path.dirname(os.path.abspath(freenit.__file__)))'`


mkdir ${NAME}
cd ${NAME}
echo 'freenit' >requirements.txt
cp -r ${PROJECT_ROOT}/project/* .
mv project ${NAME}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name='freenit',
version='0.0.31',
version='0.0.32',
description='REST API framework based on Flask-Smorest',
long_description=README,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 67290ff

Please sign in to comment.