Skip to content

Commit

Permalink
fixes a buildout issue due to dev being in version name; reformatting…
Browse files Browse the repository at this point in the history
… dos NL/CR crap
  • Loading branch information
Purcell, Frank committed Nov 1, 2017
1 parent 180008e commit bea0dc6
Show file tree
Hide file tree
Showing 10 changed files with 425 additions and 435 deletions.
17 changes: 0 additions & 17 deletions .project

This file was deleted.

4 changes: 2 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
recursive-include gtfsdb/configs *
recursive-include gtfsdb/data *
recursive-include gtfsdb/configs *
recursive-include gtfsdb/data *
9 changes: 8 additions & 1 deletion buildout.cfg
Original file line number Diff line number Diff line change
@@ -1,26 +1,33 @@
[buildout]
parts = dev postgresql prod testrunner
develop = .
app-egg-name = gtfsdb
newest = false
include-site-packages = true
allowed-eggs-from-site-packages = psycopg2 Setuptools zc.buildout
prefer-final = true
develop = .

[dev]
recipe = zc.recipe.egg
dependent-scripts = true
eggs = gtfsdb[dev]
interpreter = python

[oracle]
recipe = zc.recipe.egg
dependent-scripts = true
eggs = gtfsdb[oracle]
interpreter = python

[postgresql]
recipe = zc.recipe.egg
dependent-scripts = true
eggs = gtfsdb[postgresql]
interpreter = python

[prod]
recipe = zc.recipe.egg
dependent-scripts = true
eggs = gtfsdb
interpreter = python

Expand Down
32 changes: 16 additions & 16 deletions gtfsdb/__init__.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
from gtfsdb.model.agency import Agency
from gtfsdb.model.calendar import *
from gtfsdb.model.db import Database
from gtfsdb.model.fare import *
from gtfsdb.model.feed_info import FeedInfo
from gtfsdb.model.frequency import Frequency
from gtfsdb.model.gtfs import GTFS
from gtfsdb.model.route import *
from gtfsdb.model.route_stop import RouteStop
from gtfsdb.model.shape import *
from gtfsdb.model.stop import Stop
from gtfsdb.model.stop_feature import *
from gtfsdb.model.stop_time import StopTime
from gtfsdb.model.transfer import Transfer
from gtfsdb.model.trip import Trip
from gtfsdb.model.block import Block
from gtfsdb.model.agency import Agency
from gtfsdb.model.calendar import *
from gtfsdb.model.db import Database
from gtfsdb.model.fare import *
from gtfsdb.model.feed_info import FeedInfo
from gtfsdb.model.frequency import Frequency
from gtfsdb.model.gtfs import GTFS
from gtfsdb.model.route import *
from gtfsdb.model.route_stop import RouteStop
from gtfsdb.model.shape import *
from gtfsdb.model.stop import Stop
from gtfsdb.model.stop_feature import *
from gtfsdb.model.stop_time import StopTime
from gtfsdb.model.transfer import Transfer
from gtfsdb.model.trip import Trip
from gtfsdb.model.block import Block
42 changes: 21 additions & 21 deletions gtfsdb/configs/app.ini
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
[loggers]
keys = root

[handlers]
keys = console

[formatters]
keys = generic

[logger_root]
handlers = console
level = DEBUG

[handler_console]
class = StreamHandler
args = (sys.stdout,)
formatter = generic

[formatter_generic]
datefmt = %H:%M:%S
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
[loggers]
keys = root

[handlers]
keys = console

[formatters]
keys = generic

[logger_root]
handlers = console
level = DEBUG

[handler_console]
class = StreamHandler
args = (sys.stdout,)
formatter = generic

[formatter_generic]
datefmt = %H:%M:%S
format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
Loading

0 comments on commit bea0dc6

Please sign in to comment.