Skip to content

Commit 06d9e5e

Browse files
committed
add dev version
1 parent 895f132 commit 06d9e5e

5 files changed

Lines changed: 14 additions & 25 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
amalgamation
22
build
3+
*.pyc
4+
dist/
5+
MANIFEST

MANIFEST.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ include doc/includes/sqlite3/*.py
66
include doc/sphinx/*
77
include doc/sphinx/.static/.keepme
88
include src/*.h
9+
include setup.py
10+
11+
global-exclude *~ *.pyc

PKG-INFO

Lines changed: 0 additions & 25 deletions
This file was deleted.

cross_bdist_wininst.pyc

-10 KB
Binary file not shown.

setup.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
from types import ListType, TupleType
3333

3434
from distutils.core import setup, Extension, Command
35+
#from setuptools import setup, Extension, Command
3536
from distutils.command.build import build
3637
from distutils.command.build_ext import build_ext
3738
from distutils.dep_util import newer_group
@@ -46,6 +47,9 @@
4647

4748
PYSQLITE_EXPERIMENTAL = False
4849

50+
#DEV_VERSION = None
51+
DEV_VERSION = "1"
52+
4953
sources = ["src/module.c", "src/connection.c", "src/cursor.c", "src/cache.c",
5054
"src/microprotocols.c", "src/prepare_protocol.c", "src/statement.c",
5155
"src/util.c", "src/row.c"]
@@ -286,6 +290,9 @@ def get_setup_args():
286290
break
287291
f.close()
288292

293+
if DEV_VERSION:
294+
PYSQLITE_VERSION += ".dev%s" % DEV_VERSION
295+
289296
if not PYSQLITE_VERSION:
290297
print "Fatal error: PYSQLITE_VERSION could not be detected!"
291298
sys.exit(1)
@@ -302,6 +309,7 @@ def get_setup_args():
302309
setup_args = dict(
303310
name="pysqlcipher",
304311
version=PYSQLITE_VERSION,
312+
#version="0.0.1",
305313
description="DB-API 2.0 interface for SQLCIPHER 3.x",
306314
long_description=long_description,
307315
author="Kali Kaneko",

0 commit comments

Comments
 (0)