PySec | The Offensive Python | Data Visualization library
kandi X-RAY | PySec Summary
kandi X-RAY | PySec Summary
The Offensive Python
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Return a list of script by url
- Extracts the URL from the given JS code
- Extract HTML from a URL
- Find the last occurrence of substring in string
- Keystrokes handler
- Returns the current process name
- Send message
- Parse commandline arguments
- Parse command line arguments
- Find all URLs in a file
- Find script by url
- Scan a JSON file
- Add log record
- Import log files
- Check if the given URL is valid
- Checks the log file
- Return scan port number
- Run RMI
- Export the log to a CSV file
- Return a POC from a URL
- Check redis
- Modify log
- Print banner
- Run a shell command
- Scan for ports
- Given a list of URLs return the result
- Finds links by url
PySec Key Features
PySec Examples and Code Snippets
Community Discussions
Trending Discussions on PySec
QUESTION
I am trying to develop a python package that is importable and also has entry_point to call from shell.
When trying to call the entry point I get:
pkg_resources.VersionConflict: (pysec-aws 0.1.dev1 (/Users/myuser/PycharmProjects/pysec-aws), Requirement.parse('pysec-aws==0.1.dev0'))
Essentially what I did before getting this error, is incrementing the version from 0.1.dev0
to 0.1.dev1
in setup.py, and running python setup.py sdist
and then pip install -e .
What am I doing wrong? What is the proper way to install development versions of packages you are actively developing and bundling with setuptools?
...ANSWER
Answered 2017-Dec-22 at 11:37The error is complaining that the application version does not match the version declared in setup.py. Try checking the __version__
set in your application.
You might consider using a single source for the version to avoid this problem. There are a number of different options outlined at https://packaging.python.org/guides/single-sourcing-package-version/. One simple technique, if there are not any external dependencies, is
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install PySec
You can use PySec like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page