jaraco / irc

Full-featured Python IRC library for Python.
MIT License
390 stars 84 forks source link

I got error trying to run setup.py #166

Closed jamieduk closed 3 years ago

jamieduk commented 4 years ago

root@jnet:/var/www/radio/irc-bot# python3 setup.py usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help

error: no commands supplied

shall I try setup.py testbot after? nope same error!

researcx commented 4 years ago

pip install -e . in the bot's folder worked for me

BapRx commented 4 years ago

Hi, can you try that:

Requirements:

pip3 install wheel
pip3 install setuptools

Installation:

git clone https://github.com/jaraco/irc.git
cd irc
python3 setup.py sdist
./setup.py bdist_wheel
python3 setup.py build
sudo python3 setup.py install
jaraco commented 3 years ago

I would not ever recommend running setup.py. Always use pip install or pip install -e.