Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use flit-core #9

Merged
merged 1 commit into from
Oct 29, 2024
Merged

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented Oct 29, 2024

Switching to flit-core. Added check-sdist since it's easy to miss things with flit-core. Not sure exactly what you want in the SDist; I can put everything in or go minimal. Sort of went half-and-half. Maybe the tox.ini there doesn't make sense, actually.


$ uv build                       # Takes 526ms
$ tar -tf dist/*.tar.gz
dependency_groups-1.1.0/CHANGELOG.rst
dependency_groups-1.1.0/LICENSE.txt
dependency_groups-1.1.0/README.rst
dependency_groups-1.1.0/pyproject.toml
dependency_groups-1.1.0/src/dependency_groups/__init__.py
dependency_groups-1.1.0/src/dependency_groups/__main__.py
dependency_groups-1.1.0/src/dependency_groups/_implementation.py
dependency_groups-1.1.0/src/dependency_groups/_lint_dependency_groups.py
dependency_groups-1.1.0/src/dependency_groups/_pip_wrapper.py
dependency_groups-1.1.0/src/dependency_groups/py.typed
dependency_groups-1.1.0/tests/test_lint_cli.py
dependency_groups-1.1.0/tests/test_resolve_func.py
dependency_groups-1.1.0/tests/test_resolver_class.py
dependency_groups-1.1.0/tox.ini
dependency_groups-1.1.0/PKG-INFO
$ unzip -l dist/*.whl
Archive:  dist/dependency_groups-1.1.0-py3-none-any.whl
  Length      Date    Time    Name
---------  ---------- -----   ----
      250  10-29-2024 10:50   dependency_groups/__init__.py
     1293  10-29-2024 10:50   dependency_groups/__main__.py
     8100  10-29-2024 10:50   dependency_groups/_implementation.py
     1894  10-29-2024 10:50   dependency_groups/_lint_dependency_groups.py
     2049  10-29-2024 10:50   dependency_groups/_pip_wrapper.py
        0  10-29-2024 10:50   dependency_groups/py.typed
      155  01-01-2016 00:00   dependency_groups-1.1.0.dist-info/entry_points.txt
     1099  10-29-2024 10:50   dependency_groups-1.1.0.dist-info/LICENSE.txt
       81  01-01-2016 00:00   dependency_groups-1.1.0.dist-info/WHEEL
     2137  01-01-2016 00:00   dependency_groups-1.1.0.dist-info/METADATA
      979  01-01-2016 00:00   dependency_groups-1.1.0.dist-info/RECORD
---------                     -------
    18037                     11 files

📚 Documentation preview 📚: https://dependency-groups--9.org.readthedocs.build/en/9/

Signed-off-by: Henry Schreiner <[email protected]>
@sirosen
Copy link
Owner

sirosen commented Oct 29, 2024

Thanks for this!

I think the initial file listing is fine. I like to include tox.ini in sdists for repackagers to have it. I'll wait for someone to tell me they want specific files added to the sdist before making any changes from this baseline.

@sirosen sirosen merged commit f2d3661 into sirosen:main Oct 29, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants