Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyrasite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
pyrasite
Commits
a39e5613
Commit
a39e5613
authored
Mar 14, 2012
by
Luke Macken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add an initial RPM spec
parent
53bc9bbb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
2 deletions
+48
-2
pyrasite.spec
pyrasite.spec
+46
-0
pyrasite/__init__.py
pyrasite/__init__.py
+1
-1
setup.py
setup.py
+1
-1
No files found.
pyrasite.spec
0 → 100644
View file @
a39e5613
%global betaver beta3
Name: pyrasite
Version: 2.0
Release: 0.1.%{betaver}%{?dist}
Summary: Code injection and monitoring of running Python processes
Group: Development/Languages
License: GPLv3
URL: http://pyrasite.com
Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}%{betaver}.tar.gz
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-meliae
Requires: pygobject3
Requires: webkitgtk3
Requires: python-meliae
Requires: python-pycallgraph
Requires: gdb >= 7.3
%description
Pyrasite uses gdb to inject code into a running Python process. It is
comprised of a command-line tool, a Python API, and a graphical interface.
%prep
%setup -q -n %{name}-%{version}%{betaver}
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README.rst
%{_bindir}/pyrasite
%{_bindir}/pyrasite-gui
%{_bindir}/pyrasite-memory-viewer
%{python_sitelib}/*
%changelog
* Mon Mar 12 2012 Luke Macken <lmacken@redhat.com> 2.0-0.1.beta1
- Initial package for Fedora
pyrasite/__init__.py
View file @
a39e5613
...
...
@@ -3,7 +3,7 @@ from .inspect import ObjectInspector
from
.ipc
import
PyrasiteIPC
from
.reverse
import
ReverseConnection
,
ReversePythonConnection
__version__
=
'2.0beta
3
'
__version__
=
'2.0beta
4
'
__all__
=
(
'CodeInjector'
,
'ObjectInspector'
,
'PyrasiteIPC'
,
'ReverseConnection'
,
'ReversePythonConnection'
)
__license__
=
"""
\
...
...
setup.py
View file @
a39e5613
from
setuptools
import
setup
,
find_packages
version
=
'2.0beta
3
'
version
=
'2.0beta
4
'
f
=
open
(
'README.rst'
)
long_description
=
f
.
read
().
split
(
'split here'
)[
1
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment