Skip to content

Commit 692fa89

Browse files
committed
initial setup for poetry
1 parent 969ffe5 commit 692fa89

File tree

3 files changed

+39
-43
lines changed

3 files changed

+39
-43
lines changed

latticejson/__about__.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
__title__ = "LatticeJSON"
2-
__description__ = "A JSON based lattice file format"
3-
__url__ = "https://github.com/andreasfelix/latticejson"
4-
__version__ = "0.0.4"
5-
__author__ = "Felix Andreas"
6-
__license__ = "GNU General Public License v3.0"
1+
import pkg_resources
2+
3+
__version__ = pkg_resources.get_distribution("latticejson").version

pyproject.toml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
[tool.poetry]
2+
name = "LatticeJSON"
3+
version = "0.0.4"
4+
description = "A JSON based lattice file format"
5+
authors = ["Felix Andreas"]
6+
repository = "https://github.com/nobeam/latticejson"
7+
documentation = "https://nobeam.github.io/latticejson/"
8+
readme = "README.md"
9+
license = "GPL-3.0"
10+
classifiers = [
11+
"Development Status :: 3 - Alpha",
12+
"Intended Audience :: Science/Research",
13+
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
14+
"Programming Language :: Python :: 3.6",
15+
"Programming Language :: Python :: 3.7",
16+
"Programming Language :: Python :: 3.8",
17+
"Programming Language :: Python :: Implementation :: CPython",
18+
"Programming Language :: Python :: Implementation :: PyPy",
19+
"Topic :: Scientific/Engineering",
20+
]
21+
22+
[tool.poetry.scripts]
23+
latticejson = "latticejson.cli:cli"
24+
25+
[tool.poetry.dependencies]
26+
python = "^3.6"
27+
click = ">=7.0"
28+
fastjsonschema = "*"
29+
lark-parser = "*"
30+
31+
[tool.poetry.dev-dependencies]
32+
pytest = "^5.2"
33+
34+
[build-system]
35+
requires = ["poetry>=0.12"]
36+
build-backend = "poetry.masonry.api"

setup.py

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

0 commit comments

Comments
 (0)