Skip to content

Commit 28f16d2

Browse files
committed
get circleci working
1 parent e29c1ce commit 28f16d2

File tree

6 files changed

+49
-6
lines changed

6 files changed

+49
-6
lines changed

MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
include *.rst *.ini *.txt *.cfg .coveragerc Pipfile*
1+
include *.rst *.ini *.txt *.cfg .coveragerc Pipfile* *.yaml
22
include .ci/*
33
include .circleci/*
4+
recursive-include scripts *.py

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ pytest-cov = "*"
1515
sqlalchemy = "*"
1616
check-manifest = "*"
1717
docutils = "*"
18+
"psycopg2-binary" = "*"

Pipfile.lock

Lines changed: 37 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker-compose.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: '2'
2+
services:
3+
plocks-pg:
4+
image: postgres:9-alpine
5+
container_name: plocks-pg
6+
ports:
7+
- '127.0.0.1:54321:5432'

plocks/tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import plocks
88

99

10-
locker = plocks.Locker('plocker-tests', 'postgresql://rsyring@/test')
10+
locker = plocks.Locker('plocker-tests', 'postgresql://postgres:password@localhost/postgres')
1111

1212

1313
def random_str(length):

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
setup(
1414
name="PLocks",
1515
version=version_globals['VERSION'],
16-
description=("Easy distributed locking using PostgreSQL Advisory Locks."),
16+
description="Easy distributed locking using PostgreSQL Advisory Locks.",
1717
long_description='\n\n'.join((README, CHANGELOG)),
1818
author="Randy Syring",
1919
author_email="randy.syring@level12.io",
@@ -23,8 +23,6 @@
2323
'Intended Audience :: Developers',
2424
'License :: OSI Approved :: BSD License',
2525
'Operating System :: OS Independent',
26-
'Programming Language :: Python :: 2',
27-
'Programming Language :: Python :: 2.7',
2826
'Programming Language :: Python :: 3',
2927
'Programming Language :: Python :: 3.5',
3028
'Programming Language :: Python :: 3.6',

0 commit comments

Comments
 (0)