Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Checks for questionable practices in files.

Project Description

Checks for questionable practices in files.


$ pip install setuppycheck


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

[marca@marca-mac2 setuppycheck]$ setuppycheck examples/reads_requirements_text/
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
[marca@marca-mac2 setuppycheck]$ echo $?


  • Checks that you are not using exact pins in your file – Exact pins in get baked into the packages you build and limit flexibility. Folks using your package will have to have that same exact version. If you want to update it, you have to build a new package.
  • Checks that you are not reading a requirements.txt file and using it to populate install_requires in I think that people mostly do this because they don’t understand the differences between and requirements.txt so I would advise reading

Release History

This version
History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(4.3 kB) Copy SHA256 Hash SHA256
Wheel 2.7 Jun 25, 2015
(2.4 kB) Copy SHA256 Hash SHA256
Source None Jun 25, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate