2016-08-23 4 views
0

私はthisのガイドに従っています。私はすべての場所にファイルがあります。私はここで迷っています:githubでファイルをホストする(PyPIにファイルを送信する)

download_urlは、リポジトリのコードを持つホストされたファイルへのリンクです。あなたがgitタグを作成した場合にのみ、Githubがあなたのためにこれをホストします。あなたのリポジトリに、次のように入力します:git tag 0.1 -m "これをPyPI上に置くことができるようにタグを追加します。"次に、gitタグを入力してタグのリストを表示します。リストに0.1が表示されます。 git push -tags origin masterと入力すると、Githubのコードを最新のタグ情報で更新します。 Githubはhttps://github.com/ {username}/{module_name}/tarball/{tag}にダウンロード用のtarballを作成します。

gitシェルを使用して、自分の既存のgithubリポジトリを自分のコンピュータにクローンする予定ですか?初心者として

は、私は、コードが

+0

それは –

答えて

0
C:\Users\Dave\Desktop\distributing> git clone https://github.com/dmt257/hellodmt2.git 
Cloning into 'hellodmt2'... 
remote: Counting objects: 8, done. 
remote: Compressing objects: 100% (6/6), done. 
remote: Total 8 (delta 0), reused 0 (delta 0), pack-reused 0 
Unpacking objects: 100% (8/8), done. 
Checking connectivity... done. 
C:\Users\Dave\Desktop\distributing> git-tag 0.1 -m "adds a tag so that we can out this on PyPI." 
git-tag : The term 'git-tag' is not recognized as the name of a cmdlet, function, script file, or operable program. 
Check the spelling of the name, or if a path was included, verify that the path is correct and try again. 
At line:1 char:1 
+ git-tag 0.1 -m "adds a tag so that we can out this on PyPI." 
+ ~~~~~~~ 
    + CategoryInfo   : ObjectNotFound: (git-tag:String) [], CommandNotFoundException 
    + FullyQualifiedErrorId : CommandNotFoundException 

C:\Users\Dave\Desktop\distributing> ls 


    Directory: C:\Users\Dave\Desktop\distributing 


Mode    LastWriteTime   Length Name 
----    -------------   ------ ---- 
d-----  23/08/2016  07:56    helloDistribution 
d-----  24/08/2016  06:26    hellodmt2 
d-----  23/08/2016  14:16    hellodmt2Distribution 
d-----  23/08/2016  08:02    hellodmtDistribution 


C:\Users\Dave\Desktop\distributing> cd .\hellodmt2 
C:\Users\Dave\Desktop\distributing\hellodmt2 [master ≡]> git tag 0.1 -m "Adds a tag so that we can put this on PyPI." 
C:\Users\Dave\Desktop\distributing\hellodmt2 [master ≡]> git tag 
0.1 
C:\Users\Dave\Desktop\distributing\hellodmt2 [master ≡]> git push --tags origin master 
Counting objects: 1, done. 
Writing objects: 100% (1/1), 180 bytes | 0 bytes/s, done. 
Total 1 (delta 0), reused 0 (delta 0) 
To https://github.com/dmt257/hellodmt2.git 
* [new tag]   0.1 -> 0.1 
C:\Users\Dave\Desktop\distributing\hellodmt2 [master ≡]> 

リンク(毛羽読み取りインストーラー、プロジェクトのスケルトンディレクトリなどのため):(コーディングの実際の周囲の綿毛よりも5倍簡単に、5倍より多くの楽しみのようだと言うことができますガイドには示されていないように、(githubのアカウントでリリースオプションの下で)この形式のように見える:

https://github.com/dmt257/hellodmt2/archive/0.1.tar.gz

+0

ですが、多分これは、誰かがそれを見ることができるところにダム初心者の質問にそれをぶつけます.. ............. –

関連する問題