Add CLI script
This commit is contained in:
parent
b81bd49e73
commit
95198271d8
2 changed files with 7 additions and 4 deletions
|
@ -3,9 +3,9 @@ import datetime
|
|||
import pprint
|
||||
import sys
|
||||
|
||||
from data.cities import CITIES
|
||||
from data.countries import CONTINENTS, COUNTRIES
|
||||
from data.departments import DEPARTMENTS
|
||||
from insee_number_translator.data.cities import CITIES
|
||||
from insee_number_translator.data.countries import CONTINENTS, COUNTRIES
|
||||
from insee_number_translator.data.departments import DEPARTMENTS
|
||||
|
||||
|
||||
class InseeData:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "insee_number_translator"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
description = "Translate french INSEE number to meaningful data"
|
||||
authors = ["Gabriel Augendre <gabriel@augendre.info>"]
|
||||
license = "MIT"
|
||||
|
@ -11,6 +11,9 @@ python = "^3.9"
|
|||
[tool.poetry.dev-dependencies]
|
||||
pre-commit = "^2.13.0"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
insee = 'insee_number_translator.main:main'
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
|
Loading…
Reference in a new issue