From 836d21e9de3128bf3f6e342f429bec36f8f9da54 Mon Sep 17 00:00:00 2001 From: Ugurcan Ergun Date: Fri, 28 Dec 2012 00:52:22 +0200 Subject: [PATCH 1/4] updated README for current release --- README.rst | 57 ++++++++++++++++++------------------------------------ 1 file changed, 19 insertions(+), 38 deletions(-) diff --git a/README.rst b/README.rst index b15b94e..8be840d 100644 --- a/README.rst +++ b/README.rst @@ -24,7 +24,7 @@ You can get spynepi via pypi: :: or you can clone from github: :: - git clone git://github.com/ugurcan377/spynepi.git + git clone git://github.com/arskom/spynepi.git or get the source distribution from one of the download sites and unpack it. @@ -37,36 +37,33 @@ use: :: python setup.py develop -Setup ------ +Using Spynepi +------------- + +You can start spynepi with: :: + + $ spynepi_daemon -Assuming you are running your site locally for now, add the following to -your ``~/.pypirc`` file:: +You can upload packages with: :: - [distutils] - index-servers = - pypi - local + $ python setup.py register -r local sdist upload -r spynepi - [pypi] - username:user - password:secret +And you can download packages with: :: + + $ easy_install --user -U -i http://localhost:7789 package - [local] - username:user - password:secret - repository:http://localhost:7789 -Then you must set some settings for spynepi which is inside ``spynepi/const/__init__.py`` +Configuration +----- + +Config file for spynepi can be found inside ``spynepi/const/__init__.py`` -* DB_CONNECTION_STRING : Must be an sqlalchemy compatiable database connection string +* DB_CONNECTION_STRING : Default database for spynepi is sqlite. If you wish to use a different database you can change this line. It must be an sqlalchemy compatiable database connection string For detatils please read http://docs.sqlalchemy.org/en/rel_0_7/core/engines.html Example: for postgres ``postgresql://user:password@localhost:5432/database_name`` -* FILES_PATH : An (absolute) path which packages will be stored - - Example: ``/home/foo/workspace/spynepi`` +* FILES_PATH : Path which packages will be stored in default it creates a file named files * HOST : Thank you Captain Obvious. Default is 0.0.0.0 @@ -74,23 +71,7 @@ Then you must set some settings for spynepi which is inside ``spynepi/const/__in * PORT : Thanks again you're awesome. Default is 7789 -* REPO_NAME: The repository name you wrote in pypirc +* REPO_NAME: The repository name you will use to upload or download packages in default it is spynepi. * TABLE_PREFIX: Prefix for tables which sqlalchemy will create -Using Spynepi -------------- - -You can start spynepi with: :: - - $ spynepi_daemon - -You can upload packages with: :: - - $ python setup.py register -r local sdist upload -r local - -And you can download packages with: :: - - $ easy_install --user -U -i http://localhost:7789 package - - From 40b687f871813c8af73ca6a76a79a1633ae4656b Mon Sep 17 00:00:00 2001 From: Ugurcan Ergun Date: Fri, 28 Dec 2012 00:53:00 +0200 Subject: [PATCH 2/4] Added CHANGELOG to MANIFEST for distributed it --- MANIFEST.in | 1 + spynepi/__init__.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index 00ff188..1009dea 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1,2 @@ recursive-include spynepi/const/template/* +include CHANGELOG diff --git a/spynepi/__init__.py b/spynepi/__init__.py index b4b5c10..3ccbffb 100644 --- a/spynepi/__init__.py +++ b/spynepi/__init__.py @@ -19,5 +19,5 @@ # MA 02110-1301, USA. # -__version__ = '0.3' +__version__ = '0.3.2' From b7c191cac2db24d80f4574db393ce361f5c12c47 Mon Sep 17 00:00:00 2001 From: ugurcan377 Date: Fri, 28 Dec 2012 00:54:43 +0200 Subject: [PATCH 3/4] Update README.rst --- README.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/README.rst b/README.rst index 8be840d..f9d7edb 100644 --- a/README.rst +++ b/README.rst @@ -59,6 +59,7 @@ Configuration Config file for spynepi can be found inside ``spynepi/const/__init__.py`` * DB_CONNECTION_STRING : Default database for spynepi is sqlite. If you wish to use a different database you can change this line. It must be an sqlalchemy compatiable database connection string + For detatils please read http://docs.sqlalchemy.org/en/rel_0_7/core/engines.html Example: for postgres ``postgresql://user:password@localhost:5432/database_name`` From 4dafb893493295cd50c3dfe76ee448cc3bc51602 Mon Sep 17 00:00:00 2001 From: ugurcan377 Date: Fri, 28 Dec 2012 01:04:43 +0200 Subject: [PATCH 4/4] Update README.rst --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index f9d7edb..17f5629 100644 --- a/README.rst +++ b/README.rst @@ -54,7 +54,7 @@ And you can download packages with: :: Configuration ------ +------------- Config file for spynepi can be found inside ``spynepi/const/__init__.py``