srnas / barnaba

Analyse Nucleic Acids Structure and Simulations with baRNAba
GNU General Public License v3.0
38 stars 15 forks source link

Attempt to install script correctly #14

Closed GiovanniBussi closed 6 years ago

GiovanniBussi commented 6 years ago

@sbottaro @wouterboomsma

I tried to make the baRNAba script installable by pip. Namely:

Can you check if what I did is right and in case merge it? Thanks!

Giovanni

sbottaro commented 6 years ago

Hi, @wouterboomsma is currently working on pip installation

GiovanniBussi commented 6 years ago

Great! Meanwhile, I just report that with this change I am able to install barnaba within MacPorts. After port install py36-barnaba I have an executable named /opt/local/bin/baRNAba-3.6 that works.

wouterboomsma commented 6 years ago

This looks like the right way to do it. But what was the reason for renaming the file from baRNAba.py to __main__.py?

GiovanniBussi commented 6 years ago

@wouterboomsma probably it's not necessary... please, just forget the way I did it and do it in the correct way :-)

Giovanni

GiovanniBussi commented 6 years ago

Done in 34e2ac84c91dc1fc161ef2464b8c702aa673c931