rhiever / TwitterFollowBot

A Python bot that automates several actions on Twitter, such as following users and favoriting tweets.
GNU General Public License v3.0
1.31k stars 447 forks source link

It made some changes to package the script into a pypi package. #32

Closed ecolell closed 9 years ago

ecolell commented 9 years ago

In short:

  1. Move the source code inside a folder (twitter_follow_bot).
  2. You should create an empty init.py file inside the twitter_follow_bot folder to transform it into a python module.
  3. Create an empty version.py file to cache the last github tag to set the pypi version number.
  4. Create a MANIFEST.in (to describe the files inside the package when it is decompressed in the target machine).
  5. Create a requirements.txt file to specify our dependencies.
  6. You need to create a setup.py in the root of the project (here you reuse the README.md and LICENSE texts) to describe the deployment main process.