Skip to content

Commit e41fdac

Browse files
committedMar 27, 2018
put License in setup.py and last fixies before releasing
1 parent 230c893 commit e41fdac

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed
 

‎LaunchProduction.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99
import subprocess
1010
from random import shuffle
1111
import sys
12-
from simjob.scripts import *
12+
#from simjob.scripts import *
1313
import time
14-
from simjob import JobCollection
14+
#from simjob import JobCollection
15+
16+
from simprod import *
1517

1618
basedir = os.getenv("SIMOUTPUT")
1719
if basedir is None :
@@ -56,7 +58,7 @@
5658

5759
opts["basedir"] = basedir
5860

59-
Jobs = JobCollection( **opts )
61+
Jobs = SimulationJob( **opts )
6062

6163
Jobs.prepare()
6264

‎README.md

+3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ Description of simulation setups can be found [here](https://github.com/marinang
3838
<img width="750" height="300" src="https://github.com/marinang/SimulationProduction/blob/userinterface/etc/submission.png">
3939
</p>
4040

41+
You can also launch a job by doing:
42+
43+
`$ simprod --evttype EVTTYPE --year YEAR --nevents NEVENTS`
4144

4245
### Options
4346

‎setup.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[metadata]
2+
description-file = README.md

‎setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ def run(self):
171171
url = 'https://github.com/marinang/SimulationProduction',
172172
install_requires = install_list,
173173
dependency_links = dependency,
174+
license = 'GPL-3.0',
174175
classifiers=[
175176
'Programming Language :: Python :: 2.7',
176177
'Programming Language :: Python :: 3.4',

‎simprod/scripts/base_simprod.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777

7878
opts = vars(opts).copy()
7979
opts["basedir"] = simoutput
80-
Jobs = JobCollection( **opts )
80+
Jobs = SimulationJob( **opts )
8181
Jobs.prepare()
8282
Jobs.send()
8383

0 commit comments

Comments
 (0)