Comments (2)
I haven't tried creating a package using setup.py before. I'll have to look into that some time. The problem of course is that I run it from a git repo in my home directory, so that's what the directions assume.
from enjarify.
@Storyyeller you are speaking about the enjarify.sh and its directory discovery, right? This shouldn't be a problem at all, this could still work as is.
The only main difference would be that there is a setup.py that could be used if someone wants to install it into the system or package your software. In such case the /usr/lib/python3.5/site-packages/ is the target location (but you can of cause still run it normally from your home or whatever directory).
You can also tell setuptools setup.py to distribute non .py files (like the enjarify.sh) so you would have a base dir /usr/lib/python3.5/site-packages/enjarify where the enjarify.sh is inside and also the enjarify directory with the python modules (so its .../enjarify/enjarify) therefor everything behaves as currently.
This way i could call something like
python setup.py install -O1 --root="${pkgdir}"
and it would create the cache files and distribute everything system-wide (so i just have to create the /usr/bin/enjarify symlink).
from enjarify.
Related Issues (20)
- Python 2.7 Support HOT 1
- No module named 'enjarify' HOT 5
- fail cases HOT 5
- git tag for packaging HOT 5
- missing tests in tarballs, which can be very handy HOT 2
- TypeError: 'NoneType' object is not subscriptable HOT 2
- ValueError: bytes length not a multiple of item size
- cannot translate debug info HOT 1
- help me ths
- ACC_SUPER is not set in class file headers HOT 2
- struct.error: unpack str size too short for format HOT 3
- python3 test regression (test2) HOT 13
- PyPy3 speed HOT 5
- s390x: array index out of range HOT 4
- struct.error: 'H' format requires 0 <= number <= 65535 HOT 8
- Use Python launcher instead of python3 HOT 3
- PyPy3 Issue HOT 5
- Unknown problem HOT 1
- realpath: command not found HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from enjarify.