[Cython] [PATCH] Add .gitignores to cython and cython-docs
W. Trevor King
wking at drexel.edu
Thu Feb 17 15:23:28 CET 2011
Here's a pair of patches doing just that. I also ignore *.c in
cython, because all .c files are currently auto-generated. Perhaps
that will not always be the case? If it seems to risky, feel free to
leave that part out.
--
This email may be signed or encrypted with GPG (http://www.gnupg.org).
The GPG signature (if present) will be attached as 'signature.asc'.
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy
My public key is at http://www.physics.drexel.edu/~wking/pubkey.txt
-------------- next part --------------
From a3916ac0ac058e43c9aa75e0a66312618be73edf Mon Sep 17 00:00:00 2001
From: W. Trevor King <wking at drexel.edu>
Date: Thu, 17 Feb 2011 09:16:21 -0500
Subject: [PATCH] Add *.c to .hgignore and create analogous .gitignore.
---
.gitignore | 15 +++++++++++++++
.hgignore | 1 +
2 files changed, 16 insertions(+), 0 deletions(-)
create mode 100644 .gitignore
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..2187b82
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,15 @@
+*.pyc
+*.c
+*.swp
+
+Cython/Compiler/Lexicon.pickle
+BUILD/
+build/
+dist/
+.coverage
+*~
+*.orig
+*.rej
+*.dep
+
+tags
diff --git a/.hgignore b/.hgignore
index 6fa7131..e005c72 100644
--- a/.hgignore
+++ b/.hgignore
@@ -1,6 +1,7 @@
syntax: glob
*.pyc
+*.c
*.swp
Cython/Compiler/Lexicon.pickle
--
1.7.3.4
-------------- next part --------------
From bf5bf5d3874cdcf34940b634c56dbeb35faa4137 Mon Sep 17 00:00:00 2001
From: W. Trevor King <wking at drexel.edu>
Date: Thu, 17 Feb 2011 09:20:30 -0500
Subject: [PATCH 2/2] Create .gitignore analogous to current .hgignore.
---
.gitignore | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
create mode 100644 .gitignore
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..d431956
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+*.pyc
+*~
+.*.swp
+
+build/
+_build/
--
1.7.3.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cython-devel/attachments/20110217/e597e512/attachment.pgp>
More information about the cython-devel
mailing list