Skip to content

Commit

Permalink
Apparently you need py.typed to indicate that you're using types
Browse files Browse the repository at this point in the history
python 😔
  • Loading branch information
SheepTester committed Sep 5, 2023
1 parent 791b7cd commit a182bd1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ for guidance on development and bug reporting.
To build a distribution for upload to [PyPI](https://pypi.org/), run the following command.

```sh
rm -r dist
python -m build
python3 -m twine upload --repository testpypi dist/*
```

Learn more about [build and setuptools](https://setuptools.pypa.io/en/latest/userguide/quickstart.html).
Empty file added curricularanalytics/py.typed
Empty file.
12 changes: 10 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ build-backend = "setuptools.build_meta"

[project]
name = "curricularanalytics"
version = "0.1.0a1"
version = "0.1.0a5"
authors = [
# PyPI only lists the first author's email, and I don't want Greg to receive
# emails about a package he doesn't maintain
{ name = "Sean Yen", email = "[email protected]" },
{ name = "Greg Heileman", email = "[email protected]" },
{ name = "Hayden Free", email = "[email protected]" },
{ name = "Orhan Abar", email = "[email protected]" },
{ name = "Will Thompson", email = "[email protected]" },
{ name = "Sean Yen", email = "[email protected]" },
]
description = "A toolbox for studying and analyzing academic program curricula."
readme = "README.md"
Expand All @@ -21,3 +23,9 @@ classifiers = [
"Operating System :: OS Independent",
]
dependencies = ["networkx >= 3.1", "pandas >= 2.0.1"]

[tool.setuptools]
packages = ["curricularanalytics", 'curricularanalytics.types']

[tool.setuptools.package-data]
"curricularanalytics" = ["py.typed"]

0 comments on commit a182bd1

Please sign in to comment.