Comments (4)
You raised a good question. Before switching to pip, users had to install py3createtorrent locally by extracting it somewhere on their system. Thus, they always knew where the main script file was located.
With pip install, this has become more a little bit difficult. You can locate the directory where py3createtorrent has been installed via pip by executing:
pip show py3createtorrent
In this directory, you will find the py3createtorrent.py. At the top of this file, you will find the config section.
Of course, any changes you make to this file will be overwritten once you update py3createtorrent via pip. Therefore, for the final release of version 1.0 it is planned to read the config from a dedicated file that can be placed in the user's directory.
from py3createtorrent.
Yes, having an external config would be great.
In the mean time, I think clarifying where to find the settings would be helpful. Specifically, I think there is issue with the current wording. So, rather than "you can find the configs at a section in the top" it should say what top it's referring to: the main scrip that is installed via PIP. For a while I thought it meant the the top of a config file which I was unable to locate. :(
from py3createtorrent.
Good point. I updated the docs and hope it is less confusing now: https://py3createtorrent.readthedocs.io/en/develop/user.html#configuration
Also hope that I can finish 1.0 soon so this mess will be fixed.
from py3createtorrent.
I just released version 1.0.0b1 (beta). The config is now loaded from an external JSON file.
from py3createtorrent.
Related Issues (18)
- About RegEx issue HOT 3
- Faulty torrent name and 'name' field when using relative path '.'
- cant exclude folder that start with . HOT 3
- Support for usage as a module HOT 9
- Support for optimise alignment (Piece-Aligned, BEP-47) ?
- Make "master" the default branch again HOT 3
- No way to populate a "source" field? HOT 2
- Trackerless torrent HOT 3
- UnicodeEncodeError HOT 6
- Is 16MiB a hard limit for max pieces size? HOT 2
- Remove created_by attribute HOT 1
- run fails with "SyntaxError: invalid syntax" HOT 3
- noob question
- Requires Python 3.8 HOT 2
- Support for v2 and hybrid torrent files HOT 2
- Torrent name assignment HOT 8
- Error with path exceeded than 260 characters in Windows HOT 2
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 py3createtorrent.