Skip to main content

Checks for questionable practices in setup.py files.

Install

$ pip install setuppycheck

Use

[marca@marca-mac2 setuppycheck]$ setuppycheck examples/exact_pins/setup.py
WARNING: exact pin: 'requests==2.7.0'
[marca@marca-mac2 setuppycheck]$ echo $?
1

[marca@marca-mac2 setuppycheck]$ setuppycheck examples/reads_requirements_text/setup.py
WARNING: reads '/Users/marca/dev/git-repos/setuppycheck/examples/reads_requirements_text/requirements.txt' - looks like a requirements file?
  You might want to look at https://caremad.io/2013/07/setup-vs-requirement/
[marca@marca-mac2 setuppycheck]$ echo $?
1

Metadata

Release files for setuppycheck 0.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for setuppycheck 0.0.0
File Size Uploaded
setuppycheck-0.0.0.tar.gz 2.2 kB Details

Release files / setuppycheck-0.0.0.tar.gz

Download URL setuppycheck-0.0.0.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
77b184f8aa86d31bef3addf3fb0fc802fc4ae2076a902ea854ab276169ee85be
BLAKE2b-256 checksum
How to use checksums
8baf2a9915bbe9a52247e0251bafa1a4a8abf54e9da5d21a5527f9edaf7740c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.0.1

2 release files

This release

0.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page