Skip to content

Commit

Permalink
Merge pull request #10 from MKaras93/dev
Browse files Browse the repository at this point in the history
Prepare for pypi release
  • Loading branch information
MKaras93 authored Sep 7, 2022
2 parents 2d1795e + 4864397 commit 73076ee
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ print(sol.stations) # request for the data about stations is being made.
print(sol.stations) # data is already there, no request is being made
```

Currently, once loaded, the data will stay there until the cache is cleared, however the code already has
[//]: # (TODO: add info about how caching works)

# Any words of advice?
The library stores the whole data in the memory - which means, it might be expensive. I've designed it to work
Expand Down
32 changes: 31 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
build-backend = "setuptools.build_meta"

[project]
name = "elite-dangerous-classes-library"
version = "0.0.3"
description = "Library representing various objects in Elite Dangerous"
readme = "README.md"
authors = [{ name = "Michał Karaś", email = "mjkaras93@gmail.com" }]
license = { file = "LICENSE.md" }
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
]
keywords = ["elite dangerous"]
dependencies = [
"ratelimit >= 2.2.1",
"requests >= 2.27.1",
]
requires-python = ">=3.9"

[project.optional-dependencies]
dev = ["pytest >= 6.2.5",
"pytest-factoryboy >= 2.1.0",]

[project.urls]
Homepage = "https://github.com/MKaras93/elite-dangerous-classes-library"

[tool.setuptools.packages.find]
where = ["src"]
exclude = ["edclasses.tests*"]
17 changes: 0 additions & 17 deletions setup.cfg

This file was deleted.

1 change: 0 additions & 1 deletion src/edclasses/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
from .classes import *
from .tests.factories import classes_factories as factories

0 comments on commit 73076ee

Please sign in to comment.